mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
use isLabelTruthy() for most binary labels
This commit is contained in:
@@ -42,7 +42,7 @@ export default class SimilarNotesWidget extends NoteContextAwareWidget {
|
||||
isEnabled() {
|
||||
return super.isEnabled()
|
||||
&& this.note.type !== 'search'
|
||||
&& !this.note.hasLabel('similarNotesWidgetDisabled');
|
||||
&& !this.note.isLabelTruthy('similarNotesWidgetDisabled');
|
||||
}
|
||||
|
||||
getTitle() {
|
||||
|
||||
Reference in New Issue
Block a user