mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
small refactorings
This commit is contained in:
@@ -32,7 +32,7 @@ class MobileDetailMenuWidget extends BasicWidget {
|
||||
const branchId = await treeService.getBranchIdFromNotePath(notePath);
|
||||
|
||||
if (!branchId) {
|
||||
throw new Error(`Cannot get branchId for notePath ${notePath}`);
|
||||
throw new Error(`Cannot get branchId for notePath '${notePath}'`);
|
||||
}
|
||||
|
||||
if (await branchService.deleteNotes([branchId])) {
|
||||
|
||||
Reference in New Issue
Block a user