aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/root-helpers/plugins-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/root-helpers/plugins-manager.ts')
-rw-r--r--client/src/root-helpers/plugins-manager.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/root-helpers/plugins-manager.ts b/client/src/root-helpers/plugins-manager.ts
index d14ac4acd..f1687d91d 100644
--- a/client/src/root-helpers/plugins-manager.ts
+++ b/client/src/root-helpers/plugins-manager.ts
@@ -155,7 +155,7 @@ class PluginsManager {
155 try { 155 try {
156 if (!isReload) this.loadedScopes.push(scope) 156 if (!isReload) this.loadedScopes.push(scope)
157 157
158 const toLoad = this.scopes[ scope ] 158 const toLoad = this.scopes[scope]
159 if (!Array.isArray(toLoad)) { 159 if (!Array.isArray(toLoad)) {
160 this.loadingScopes[scope] = false 160 this.loadingScopes[scope] = false
161 this.pluginsLoaded[scope].next(true) 161 this.pluginsLoaded[scope].next(true)
@@ -168,11 +168,11 @@ class PluginsManager {
168 for (const pluginInfo of toLoad) { 168 for (const pluginInfo of toLoad) {
169 const clientScript = pluginInfo.clientScript 169 const clientScript = pluginInfo.clientScript
170 170
171 if (this.loadedScripts[ clientScript.script ]) continue 171 if (this.loadedScripts[clientScript.script]) continue
172 172
173 promises.push(this.loadPlugin(pluginInfo)) 173 promises.push(this.loadPlugin(pluginInfo))
174 174
175 this.loadedScripts[ clientScript.script ] = true 175 this.loadedScripts[clientScript.script] = true
176 } 176 }
177 177
178 await Promise.all(promises) 178 await Promise.all(promises)