mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Revert "Add attribute disableHighlightsList to disable Highlights List Widget"
This reverts commit e7d98206f975d8c46e2fccb14d26e74a56377d74.
This commit is contained in:
parent
bdbaacaac9
commit
f10fc7bd7f
@ -66,7 +66,6 @@ export default class HighlightsListWidget extends RightPanelWidget {
|
|||||||
isEnabled() {
|
isEnabled() {
|
||||||
return super.isEnabled()
|
return super.isEnabled()
|
||||||
&& this.note.type === 'text'
|
&& this.note.type === 'text'
|
||||||
&& !this.note.hasLabel('disableHighlightsList')
|
|
||||||
&& !this.noteContext.viewScope.highlightsListTemporarilyHidden
|
&& !this.noteContext.viewScope.highlightsListTemporarilyHidden
|
||||||
&& this.noteContext.viewScope.viewMode === 'default';
|
&& this.noteContext.viewScope.viewMode === 'default';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user