mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
use isLabelTruthy() for most binary labels
This commit is contained in:
@@ -31,7 +31,7 @@ export default class LauncherWidget extends BasicWidget {
|
||||
throw new Error(`Note '${note.noteId}' '${note.title}' is not a launcher even though it's in the launcher subtree`);
|
||||
}
|
||||
|
||||
if (!utils.isDesktop() && note.hasLabel('desktopOnly')) {
|
||||
if (!utils.isDesktop() && note.isLabelTruthy('desktopOnly')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user