mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-07 13:29:48 -06:00
client: Enable copy image reference button for mindmaps
This commit is contained in:
@@ -15,7 +15,7 @@ const TPL = `
|
||||
export default class CopyImageReferenceButton extends NoteContextAwareWidget {
|
||||
isEnabled() {
|
||||
return super.isEnabled()
|
||||
&& ['mermaid', 'canvas'].includes(this.note?.type)
|
||||
&& ['mermaid', 'canvas', 'mindMap'].includes(this.note?.type)
|
||||
&& this.note.isContentAvailable()
|
||||
&& this.noteContext?.viewScope.viewMode === 'default';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user