@@ -4,6 +4,7 @@ import AppsIcon from "@mui/icons-material/Apps";
4
4
import CheckCircle from "@mui/icons-material/CheckCircle" ;
5
5
import ErrorIcon from "@mui/icons-material/Error" ;
6
6
import HelpOutline from "@mui/icons-material/HelpOutline" ;
7
+ import HourglassEmpty from "@mui/icons-material/HourglassEmpty" ;
7
8
import InsertDriveFile from "@mui/icons-material/InsertDriveFile" ;
8
9
import OpenInNew from "@mui/icons-material/OpenInNew" ;
9
10
import Warning from "@mui/icons-material/Warning" ;
@@ -18,7 +19,6 @@ import type {
18
19
} from "api/typesGenerated" ;
19
20
import { useProxy } from "contexts/ProxyContext" ;
20
21
import { formatDistance , formatDistanceToNow } from "date-fns" ;
21
- import { DividerWithText } from "pages/DeploymentSettingsPage/LicensesSettingsPage/DividerWithText" ;
22
22
import type { FC } from "react" ;
23
23
import { createAppLinkHref } from "utils/apps" ;
24
24
@@ -54,7 +54,12 @@ const getStatusIcon = (
54
54
case "failure" :
55
55
return < ErrorIcon sx = { { color, fontSize : 18 } } /> ;
56
56
case "working" :
57
- return < CircularProgress size = { 18 } sx = { { color } } /> ;
57
+ // Use Hourglass for past "working" states, spinner for the current one
58
+ return isLatest ? (
59
+ < CircularProgress size = { 18 } sx = { { color } } />
60
+ ) : (
61
+ < HourglassEmpty sx = { { color, fontSize : 18 } } />
62
+ ) ;
58
63
default :
59
64
return < Warning sx = { { color, fontSize : 18 } } /> ;
60
65
}
0 commit comments