From: Yarin Dekel Date: Thu, 27 Dec 2018 10:40:10 +0000 (+0200) Subject: WF-fixed navigation after archive X-Git-Tag: 1.4.0~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F75113%2F2;p=sdc%2Fsdc-workflow-designer.git WF-fixed navigation after archive Issue-ID: SDC-2025 Change-Id: I111dbb94dadff3302fa866dac86d87f81c7ffe68 Signed-off-by: Yarin Dekel --- diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js index 9193c5b0..8b5f04f9 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js @@ -28,7 +28,6 @@ import { import { setWorkflowAction } from 'features/workflow/workflowConstants'; import { notificationActions } from 'shared/notifications/notificationsActions'; import { fetchWorkflow } from 'features/catalog/catalogActions'; -import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants'; import { I18n } from 'react-redux-i18n'; export function* getOverview({ payload }) { @@ -61,7 +60,7 @@ export function* archiveRestoreWorkflow(action) { const { ...data } = action.payload; yield call(overviewApi.archiveRestoreWorkflow, data); const { - catalog: { sort }, + catalog: { sort, status }, searchNameFilter = '' } = yield select(); @@ -69,7 +68,7 @@ export function* archiveRestoreWorkflow(action) { fetchWorkflow({ sort, searchNameFilter, - status: WORKFLOW_STATUS.ACTIVE + status: status }) ); } catch (e) {