client: Add basic mindmap integration

This commit is contained in:
Elian Doran
2024-09-01 15:04:47 +03:00
parent e39dd1525d
commit 594f816702
6 changed files with 43 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
this.$widget.toggleClass("full-height",
(
!this.noteContext.hasNoteList()
&& ['canvas', 'webView', 'noteMap'].includes(this.type)
&& ['canvas', 'webView', 'noteMap', 'mindMap'].includes(this.type)
&& this.mime !== 'text/x-sqlite;schema=trilium'
)
|| this.noteContext.viewScope.viewMode === 'attachments'