mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-07 21:04:35 +00:00
11 lines
331 B
JavaScript
11 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))
|