From 3a2ab7d1afa973b1d10dc12d78eb65b8d1193bcd Mon Sep 17 00:00:00 2001 From: Yarin Dekel Date: Thu, 27 Dec 2018 12:40:10 +0200 Subject: WF-fixed navigation after archive Issue-ID: SDC-2025 Change-Id: I111dbb94dadff3302fa866dac86d87f81c7ffe68 Signed-off-by: Yarin Dekel --- .../main/frontend/src/features/workflow/overview/overviewSagas.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'workflow-designer-ui/src/main/frontend') 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) { -- cgit 1.2.3-korg