From 22b565cfb3bfe6c296fe3f09ed59d4e6a66f31e3 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sat, 22 May 2021 17:08:55 +1200 Subject: [PATCH] Remove moderations notify dot --- html/src/app.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 4cee5bcd..52fa30bd 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -2326,7 +2326,6 @@ speechSynthesis.getVoices(); API.$on('LOGIN', function () { this.cachedPlayerModerations.clear(); - $app.playerModerationTable.lastRunLength = 0; this.isPlayerModerationsLoading = false; this.refreshPlayerModerations(); }); @@ -2436,11 +2435,6 @@ speechSynthesis.getVoices(); this.isPlayerModerationsLoading = false; }).then(() => { this.deleteExpiredPlayerModerations(); - if (($app.playerModerationTable.data.length !== $app.playerModerationTable.lastRunLength) && - ($app.playerModerationTable.lastRunLength > 0)) { - $app.notifyMenu('moderation'); - } - $app.playerModerationTable.lastRunLength = $app.playerModerationTable.data.length; }); };