WF- disable add new when ARCHIVED

Issue-ID: SDC-1972
Change-Id: I3c73d587b3b891a09b0858cf9df00467c111d7ff
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
index 0f3d970..3eed4ed 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
+++ b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
@@ -19,6 +19,7 @@
 import InfiniteScroll from 'shared/scroll/InfiniteScroll';
 import Workflows from 'features/catalog/views/Workflows';
 import AddWorkflow from 'features/catalog/views/AddWorkflow';
+import { WORKFLOW_STATUS } from 'features/workflow/workflowConstants';
 
 import Header from 'features/catalog/views/Header';
 import Main from 'features/catalog/views/Main';
@@ -134,7 +135,9 @@
                             this.handleAlphabeticalOrderByClick
                         }>
                         <div className="main__content">
-                            <AddWorkflow onClick={showNewWorkflowModal} />
+                            {status === WORKFLOW_STATUS.ACTIVE && (
+                                <AddWorkflow onClick={showNewWorkflowModal} />
+                            )}
                             <Workflows
                                 items={items}
                                 onWorkflowClick={this.goToOverviewPage}