mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
small refactorings
This commit is contained in:
@@ -17,7 +17,7 @@ function isHoistedInHiddenSubtree() {
|
||||
const hoistedNote = becca.getNote(hoistedNoteId);
|
||||
|
||||
if (!hoistedNote) {
|
||||
throw new Error(`Cannot find hoisted note ${hoistedNoteId}`);
|
||||
throw new Error(`Cannot find hoisted note '${hoistedNoteId}'`);
|
||||
}
|
||||
|
||||
return hoistedNote.isHiddenCompletely();
|
||||
|
||||
Reference in New Issue
Block a user