From 0fc728f546e52c04f03e5a6b45b76693c9eea4b3 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 6 Mar 2019 17:14:00 +0100 Subject: [PATCH] fix removing module --- src/app/ui/landing-page/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/landing-page/generate.js b/src/app/ui/landing-page/generate.js index 224fd1662c..105f871f59 100644 --- a/src/app/ui/landing-page/generate.js +++ b/src/app/ui/landing-page/generate.js @@ -63,7 +63,7 @@ export function generateHomePage (appManager, appStore) { payload: () => { appStore.getActives() .filter(({profile}) => !profile.required) - .forEach((profile) => { appManager.deactivateOne(profile.name) }) + .forEach(({profile}) => { appManager.deactivateOne(profile.name) }) }}) defaultWorkspaces(appManager).forEach((workspace) => { sectionsWorkspaces.push({label: workspace.title, type: 'callback', payload: () => { workspace.activate() }})