File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
site/src/pages/WorkspacesPage Expand file tree Collapse file tree 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";
44import { visuallyHidden } from "@mui/utils" ;
55import type { Workspace } from "api/typesGenerated" ;
66import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog" ;
7+ import { ExternalImage } from "components/ExternalImage/ExternalImage" ;
78import { Stack } from "components/Stack/Stack" ;
89import dayjs from "dayjs" ;
910import relativeTime from "dayjs/plugin/relativeTime" ;
@@ -247,7 +248,11 @@ const Resources: FC<StageProps> = ({ workspaces }) => {
247248 >
248249 { Object . entries ( resources ) . map ( ( [ type , summary ] ) => (
249250 < 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+ />
251256 < span >
252257 { summary . count } < code > { type } </ code >
253258 </ span >
You can’t perform that action at this time.
0 commit comments