fix: deactivate themes on signout

This commit is contained in:
Mo Bitar
2020-04-21 17:24:11 -05:00
parent 6be8fa93f8
commit 2ce981a1ea
5 changed files with 232 additions and 17297 deletions

View File

@@ -72,8 +72,8 @@ class RevisionPreviewModalCtrl implements RevisionPreviewScope {
this.unregisterComponent = this.componentManager.registerHandler({
identifier: editorCopy.uuid,
areas: [ComponentArea.Editor],
contextRequestHandler: (component) => {
if (component === this.editor) {
contextRequestHandler: (componentUuid) => {
if (componentUuid === this.editor?.uuid) {
return this.note;
}
},