This commit is contained in:
tamaina 2021-01-23 01:10:12 +09:00
parent abf585bab1
commit 94b9f0b0d4
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const apiUrl = `${location.origin}/api/`;
let lang: string; let lang: string;
let i18n: I18n<any>; let i18n: I18n<any>;
const pushesPool = [] as any[]; let pushesPool: any[] = [];
//#endregion //#endregion
//#region Startup //#region Startup
@ -120,6 +120,7 @@ async function fetchLocale() {
const n = await composeNotification(type, body, i18n); const n = await composeNotification(type, body, i18n);
if (n) self.registration.showNotification(...n); if (n) self.registration.showNotification(...n);
} }
pushesPool = [];
//#endregion //#endregion
} }
//#endregion //#endregion