diff --git a/reana-ui/src/components/WorkflowActionsPopup.js b/reana-ui/src/components/WorkflowActionsPopup.js index 25b6252..76cfb2f8 100644 --- a/reana-ui/src/components/WorkflowActionsPopup.js +++ b/reana-ui/src/components/WorkflowActionsPopup.js @@ -38,7 +38,7 @@ export default function WorkflowActionsPopup({ workflow, className }) { const isDeleted = status === "deleted"; const isDeletedUsingWorkspace = isDeleted && size.raw > 0; const isRunning = status === "running"; - const isSessionOpen = sessionStatus === "created"; + const isSessionOpen = sessionStatus === "Running"; let menuItems = []; diff --git a/reana-ui/src/components/WorkflowBadges.js b/reana-ui/src/components/WorkflowBadges.js index c1652c4..06ec072 100644 --- a/reana-ui/src/components/WorkflowBadges.js +++ b/reana-ui/src/components/WorkflowBadges.js @@ -26,7 +26,7 @@ export default function WorkflowBadges({ workflow }) { session_status: sessionStatus, } = workflow; const hasDiskUsage = size.raw > 0; - const isSessionOpen = sessionStatus === "created"; + const isSessionOpen = sessionStatus === "Running"; return (