mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
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))
|