File tree 1 file changed +6
-1
lines changed
site/src/pages/WorkspacesPage 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import ScheduleIcon from "@mui/icons-material/Schedule";
4
4
import { visuallyHidden } from "@mui/utils" ;
5
5
import type { Workspace } from "api/typesGenerated" ;
6
6
import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog" ;
7
+ import { ExternalImage } from "components/ExternalImage/ExternalImage" ;
7
8
import { Stack } from "components/Stack/Stack" ;
8
9
import dayjs from "dayjs" ;
9
10
import relativeTime from "dayjs/plugin/relativeTime" ;
@@ -247,7 +248,11 @@ const Resources: FC<StageProps> = ({ workspaces }) => {
247
248
>
248
249
{ Object . entries ( resources ) . map ( ( [ type , summary ] ) => (
249
250
< Stack key = { type } direction = "row" alignItems = "center" spacing = { 1 } >
250
- < img alt = "" src = { summary . icon } css = { styles . summaryIcon } />
251
+ < ExternalImage
252
+ src = { summary . icon }
253
+ width = { styles . summaryIcon . width }
254
+ height = { styles . summaryIcon . height }
255
+ />
251
256
< span >
252
257
{ summary . count } < code > { type } </ code >
253
258
</ span >
You can’t perform that action at this time.
0 commit comments