mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Continued translating files
This commit is contained in:
parent
1d977679dd
commit
99c834651c
15 changed files with 78 additions and 58 deletions
|
@ -23,6 +23,7 @@
|
|||
*/
|
||||
|
||||
import {padModals} from "./pad_modals";
|
||||
import {ClientDisconnectedMessage} from "./types/SocketIOMessage";
|
||||
|
||||
class PadConnectionStatus {
|
||||
private status: {
|
||||
|
@ -55,12 +56,13 @@ class PadConnectionStatus {
|
|||
}
|
||||
disconnected
|
||||
=
|
||||
(msg: string) => {
|
||||
(msg: ClientDisconnectedMessage) => {
|
||||
if (this.status.what === 'disconnected') return;
|
||||
|
||||
this.status =
|
||||
{
|
||||
what: 'disconnected',
|
||||
// @ts-ignore
|
||||
why: msg,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue