mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Fix mindmap preview in revision
This commit is contained in:
parent
f82ff5aa76
commit
50c0252055
@ -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>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user