Fixes and improvements related to components

This commit is contained in:
Mo Bitar
2020-04-15 19:17:08 -05:00
parent 1280c2ec52
commit 407e3ea0d8
21 changed files with 276 additions and 270 deletions

View File

@@ -92,7 +92,7 @@ export class ThemeManager extends ApplicationService {
const activeThemes = this.application!.componentManager!.getActiveThemes();
for (const theme of activeThemes) {
if (theme) {
this.application!.componentManager!.deregisterComponent(theme);
this.application!.componentManager!.deregisterComponent(theme.uuid);
}
}
this.activeThemes = [];