Fix undefined log function
This commit is contained in:
parent
3b476fb60d
commit
6d04bfdf67
3 changed files with 4 additions and 4 deletions
|
@ -2501,7 +2501,7 @@ export async function startApp(): Promise<void> {
|
||||||
|
|
||||||
window.reduxActions.app.initialLoadComplete();
|
window.reduxActions.app.initialLoadComplete();
|
||||||
|
|
||||||
window.logAppLoadedEvent({
|
window.logAppLoadedEvent?.({
|
||||||
processedCount: messageReceiver && messageReceiver.getProcessedCount(),
|
processedCount: messageReceiver && messageReceiver.getProcessedCount(),
|
||||||
});
|
});
|
||||||
if (messageReceiver) {
|
if (messageReceiver) {
|
||||||
|
|
|
@ -212,7 +212,7 @@ export class SocketManager extends EventListener {
|
||||||
|
|
||||||
window.log.info('SocketManager: connected authenticated socket');
|
window.log.info('SocketManager: connected authenticated socket');
|
||||||
|
|
||||||
window.logAuthenticatedConnect();
|
window.logAuthenticatedConnect?.();
|
||||||
this.backOff.reset();
|
this.backOff.reset();
|
||||||
|
|
||||||
authenticated.addEventListener('close', ({ code, reason }): void => {
|
authenticated.addEventListener('close', ({ code, reason }): void => {
|
||||||
|
|
4
ts/window.d.ts
vendored
4
ts/window.d.ts
vendored
|
@ -482,8 +482,8 @@ declare global {
|
||||||
|
|
||||||
getServerTrustRoot: () => WhatIsThis;
|
getServerTrustRoot: () => WhatIsThis;
|
||||||
readyForUpdates: () => void;
|
readyForUpdates: () => void;
|
||||||
logAppLoadedEvent: (options: { processedCount?: number }) => void;
|
logAppLoadedEvent?: (options: { processedCount?: number }) => void;
|
||||||
logAuthenticatedConnect: () => void;
|
logAuthenticatedConnect?: () => void;
|
||||||
|
|
||||||
// Runtime Flags
|
// Runtime Flags
|
||||||
isShowingModal?: boolean;
|
isShowingModal?: boolean;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue