From 8e0ca62b59f34962f77d27e05e6ba81c0b544433 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Tue, 15 Aug 2023 03:01:29 +1200 Subject: [PATCH] Sync branch --- html/src/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 38de28ea..e00b0b69 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -13570,10 +13570,8 @@ speechSynthesis.getVoices(); cancelButtonText: 'Cancel', type: 'info', callback: (action) => { - if ( - action === 'confirm' && - removeFromArray(this.friendLogTable.data, row) - ) { + if (action === 'confirm') { + removeFromArray(this.friendLogTable.data, row); database.deleteFriendLogHistory(row.rowId); } }