From 924220ee19cf39bc2c06a382687e357cf5bcacb3 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() }})