mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 00:36:33 +01:00
client: Fix mindmap preview in revision
This commit is contained in:
@@ -274,7 +274,7 @@ export default class RevisionsDialog extends BasicWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$content.html($table);
|
this.$content.html($table);
|
||||||
} else if (revisionItem.type === 'canvas') {
|
} else if ([ "canvas", "mindMap" ].includes(revisionItem.type)) {
|
||||||
const encodedTitle = encodeURIComponent(revisionItem.title);
|
const encodedTitle = encodeURIComponent(revisionItem.title);
|
||||||
|
|
||||||
this.$content.html($("<img>")
|
this.$content.html($("<img>")
|
||||||
|
|||||||
Reference in New Issue
Block a user