aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYarin Dekel <yarind@amdocs.com>2018-12-27 12:40:10 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-12-30 09:30:45 +0000
commit3a2ab7d1afa973b1d10dc12d78eb65b8d1193bcd (patch)
treeca4baa393ec63252f415954b46ed4c14907158f8
parent9ba698bacab8e97da24f41cbba0c340e6099c9cc (diff)
WF-fixed navigation after archive
Issue-ID: SDC-2025 Change-Id: I111dbb94dadff3302fa866dac86d87f81c7ffe68 Signed-off-by: Yarin Dekel <yarind@amdocs.com>
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/workflow/overview/overviewSagas.js5
1 files changed, 2 insertions, 3 deletions
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) {