mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
3b1c4e19a4
React chat store GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
12 lines
331 B
JavaScript
12 lines
331 B
JavaScript
import App from '../../../base'
|
|
import { react2angular } from 'react2angular'
|
|
|
|
import ChatPane from '../components/chat-pane'
|
|
|
|
App.controller('ReactChatController', function($scope, ide) {
|
|
$scope.resetUnreadMessages = () =>
|
|
ide.$scope.$broadcast('chat:resetUnreadMessages')
|
|
})
|
|
|
|
App.component('chat', react2angular(ChatPane))
|