aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/workspaces/store.js')
-rw-r--r--src/features/workspaces/store.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js
index ec9d7ee7f..73e882990 100644
--- a/src/features/workspaces/store.js
+++ b/src/features/workspaces/store.js
@@ -302,8 +302,8 @@ export default class WorkspacesStore extends FeatureStore {
302 const { allServicesRequest } = services; 302 const { allServicesRequest } = services;
303 const servicesHaveBeenLoaded = allServicesRequest.wasExecuted && !allServicesRequest.isError; 303 const servicesHaveBeenLoaded = allServicesRequest.wasExecuted && !allServicesRequest.isError;
304 // Loop through all workspaces and remove invalid service ids (locally) 304 // Loop through all workspaces and remove invalid service ids (locally)
305 this.workspaces.forEach((workspace) => { 305 for (const workspace of this.workspaces) {
306 workspace.services.forEach((serviceId) => { 306 for (const serviceId of workspace.services) {
307 if ( 307 if (
308 servicesHaveBeenLoaded 308 servicesHaveBeenLoaded
309 && !services.one(serviceId) 309 && !services.one(serviceId)
@@ -311,7 +311,7 @@ export default class WorkspacesStore extends FeatureStore {
311 ) { 311 ) {
312 workspace.services.remove(serviceId); 312 workspace.services.remove(serviceId);
313 } 313 }
314 }); 314 }
315 }); 315 }
316 }; 316 };
317} 317}