ActivityPub-federated video streaming platform using P2P directly in your web browser
Ensure plugins are loaded for client route
Chocobozzz9d9a37330ce2
diff --git a/client/src/app/+plugin-pages/plugin-pages.component.ts b/client/src/app/+plugin-pages/plugin-pages.component.tsindex 5f294ee13c..973e4d0211 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)