mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	Merge pull request #4421 from fang64/master
Add attribute disableHighlightsList to disable Highlights List Widget
This commit is contained in:
		| @@ -66,6 +66,7 @@ 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'; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user