diff --git a/client/src/app/+plugin-pages/plugin-pages.component.ts b/client/src/app/+plugin-pages/plugin-pages.component.ts index 5f294ee13..973e4d021 100644 --- a/client/src/app/+plugin-pages/plugin-pages.component.ts +++ b/client/src/app/+plugin-pages/plugin-pages.component.ts @@ -17,6 +17,11 @@ export class PluginPagesComponent implements AfterViewInit { } ngAfterViewInit () { + this.pluginService.ensurePluginsAreLoaded('common') + .then(() => this.loadRoute()) + } + + private loadRoute () { const path = '/' + this.route.snapshot.url.map(u => u.path).join('/') const registered = this.pluginService.getRegisteredClientRoute(path)