mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 19:51:57 +08:00
fix reloading frontend after erasing notes in firefox, fixes #2221
This commit is contained in:
parent
f5dc05e79a
commit
1cdd644b8f
2 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"archiver": "5.3.0",
|
"archiver": "5.3.0",
|
||||||
"async-mutex": "0.3.2",
|
"async-mutex": "0.3.2",
|
||||||
"axios": "0.22.0",
|
"axios": "0.23.0",
|
||||||
"better-sqlite3": "7.4.3",
|
"better-sqlite3": "7.4.3",
|
||||||
"body-parser": "1.19.0",
|
"body-parser": "1.19.0",
|
||||||
"chokidar": "3.5.2",
|
"chokidar": "3.5.2",
|
||||||
|
|
|
@ -109,6 +109,10 @@ async function deleteNotes(branchIdsToDelete) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (eraseNotes) {
|
||||||
|
utils.reloadFrontendApp("erasing notes requires reload");
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue