From 666ae5ba2b5c350826fdfe5ed15fc4a7038bd796 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Wed, 2 Oct 2024 11:26:06 -0700 Subject: [PATCH] Amend analysis page icons --- .../landing/AnalysisSubmissionLanding.js | 53 ++++++++++++++----- .../analyses/landing/DotMenuItems.js | 6 +-- 2 files changed, 42 insertions(+), 17 deletions(-) diff --git a/src/components/analyses/landing/AnalysisSubmissionLanding.js b/src/components/analyses/landing/AnalysisSubmissionLanding.js index 8a7aa8910..fe0cbff89 100644 --- a/src/components/analyses/landing/AnalysisSubmissionLanding.js +++ b/src/components/analyses/landing/AnalysisSubmissionLanding.js @@ -73,8 +73,9 @@ import { useTheme, } from "@mui/material"; import { - ContactSupport, + Cancel as CancelIcon, ExpandMore, + HourglassEmptyRounded as HourGlassIcon, Refresh, Launch, } from "@mui/icons-material"; @@ -392,28 +393,52 @@ export default function AnalysisSubmissionLanding(props) { {!isSmDown && <>{t("refresh")}} - - {allowShareWithSupport && ( + {allowTimeExtn && ( + - )} - + + )} + {allowCancel && ( + + + + )} )} diff --git a/src/components/analyses/landing/DotMenuItems.js b/src/components/analyses/landing/DotMenuItems.js index bc68edc6f..340aee7b0 100644 --- a/src/components/analyses/landing/DotMenuItems.js +++ b/src/components/analyses/landing/DotMenuItems.js @@ -75,7 +75,7 @@ export default function DotMenuItems(props) { ), - isMdDown && allowShareWithSupport && ( + allowShareWithSupport && ( ), - allowTimeExtn && ( + isMdDown && allowTimeExtn && ( ), - allowCancel && ( + isMdDown && allowCancel && (