mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix loading canvas notes created in 0.61.7-beta, closes #4313
This commit is contained in:
parent
78f8a37587
commit
9765892d18
@ -209,7 +209,7 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const {elements, files, appState} = content;
|
const {elements, files, appState = {}} = content;
|
||||||
|
|
||||||
appState.theme = this.themeStyle;
|
appState.theme = this.themeStyle;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user