diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-07 15:07:11 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-07 15:07:11 +0200 |
| commit | aa788a3ad18badfac8beaabdaffc88b9e52f9306 (patch) | |
| tree | 2046d0a401ca0853d5e85de9d6360edcb79f7ebd /opendc-web/opendc-web-ui/src/redux/sagas/projects.js | |
| parent | 1ce8bf170cda2afab334cd330325cd4fbb97dab4 (diff) | |
ui: Remove current ids state from Redux
This change removes the current active identifiers from the Redux state.
Instead, we use the router query to track the active project, portfolio
and topology.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/redux/sagas/projects.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/redux/sagas/projects.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/redux/sagas/projects.js b/opendc-web/opendc-web-ui/src/redux/sagas/projects.js index 506df6ed..0689090a 100644 --- a/opendc-web/opendc-web-ui/src/redux/sagas/projects.js +++ b/opendc-web/opendc-web-ui/src/redux/sagas/projects.js @@ -13,7 +13,7 @@ export function* onOpenProjectSucceeded(action) { yield put(addToStore('project', project)) yield fetchAndStoreAllTopologiesOfProject(action.id, true) - yield fetchPortfoliosOfProject() + yield fetchPortfoliosOfProject(project) yield fetchAndStoreAllSchedulers() yield fetchAndStoreAllTraces() } catch (error) { |
