mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
use isLabelTruthy() for most binary labels
This commit is contained in:
@@ -761,7 +761,7 @@ class FNote {
|
||||
}
|
||||
|
||||
getPromotedDefinitionAttributes() {
|
||||
if (this.hasLabel('hidePromotedAttributes')) {
|
||||
if (this.isLabelTruthy('hidePromotedAttributes')) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user