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); } }