From 8e55d44f273c6ebcf23e7af9e2f0151642a77b01 Mon Sep 17 00:00:00 2001 From: Zoltan Runyo <zoltan.runyo@ess.eu> Date: Thu, 23 Feb 2023 11:41:57 +0100 Subject: [PATCH] ICSHWI-11787: Log view tabs: Only Completed (failed and successful), Only Ongoing (all 'sub-states': queued, pending, waiting, running) --- src/views/jobs/JobListView.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/jobs/JobListView.js b/src/views/jobs/JobListView.js index f48f903d..294e790e 100644 --- a/src/views/jobs/JobListView.js +++ b/src/views/jobs/JobListView.js @@ -68,11 +68,9 @@ export function JobListView() { if (tab === 0) { setDeploymentStatus(null); } else if (tab === 1) { - setDeploymentStatus("RUNNING"); + setDeploymentStatus("ONGOING"); } else if (tab === 2) { setDeploymentStatus("FINISHED"); - } else if (tab === 3) { - setDeploymentStatus("QUEUED"); } }; @@ -180,11 +178,10 @@ export function JobListView() { textColor="primary" > <Tab label={<Typography variant="h5">All</Typography>} /> - <Tab label={<Typography variant="h5">Only Running</Typography>} /> + <Tab label={<Typography variant="h5">Only Ongoing</Typography>} /> <Tab - label={<Typography variant="h5">Only Finished</Typography>} + label={<Typography variant="h5">Only Completed</Typography>} /> - <Tab label={<Typography variant="h5">Only Queued</Typography>} /> </Tabs> </Grid> <Grid -- GitLab