diff options
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/plugins/plugin.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/core/server/server.service.ts | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts index 6c567d3ca..7f751f479 100644 --- a/client/src/app/core/plugins/plugin.service.ts +++ b/client/src/app/core/plugins/plugin.service.ts | |||
@@ -33,7 +33,7 @@ export class PluginService { | |||
33 | initializePlugins () { | 33 | initializePlugins () { |
34 | this.server.configLoaded | 34 | this.server.configLoaded |
35 | .subscribe(() => { | 35 | .subscribe(() => { |
36 | this.plugins = this.server.getConfig().plugins | 36 | this.plugins = this.server.getConfig().plugin.registered |
37 | 37 | ||
38 | this.buildScopeStruct() | 38 | this.buildScopeStruct() |
39 | 39 | ||
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 80c52164d..7fb95fe4e 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -42,7 +42,13 @@ export class ServerService { | |||
42 | css: '' | 42 | css: '' |
43 | } | 43 | } |
44 | }, | 44 | }, |
45 | plugins: [], | 45 | plugin: { |
46 | registered: [] | ||
47 | }, | ||
48 | theme: { | ||
49 | registered: [], | ||
50 | default: 'default' | ||
51 | }, | ||
46 | email: { | 52 | email: { |
47 | enabled: false | 53 | enabled: false |
48 | }, | 54 | }, |