We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentdb76728 commitb23e3f9Copy full SHA for b23e3f9
site/src/pages/WorkspacesPage/BatchDeleteConfirmation.tsx
@@ -4,6 +4,7 @@ import ScheduleIcon from "@mui/icons-material/Schedule";
4
import{visuallyHidden}from"@mui/utils";
5
importtype{Workspace}from"api/typesGenerated";
6
import{ConfirmDialog}from"components/Dialogs/ConfirmDialog/ConfirmDialog";
7
+import{ExternalImage}from"components/ExternalImage/ExternalImage";
8
import{Stack}from"components/Stack/Stack";
9
importdayjsfrom"dayjs";
10
importrelativeTimefrom"dayjs/plugin/relativeTime";
@@ -247,7 +248,11 @@ const Resources: FC<StageProps> = ({ workspaces }) => {
247
248
>
249
{Object.entries(resources).map(([type,summary])=>(
250
<Stackkey={type}direction="row"alignItems="center"spacing={1}>
-<imgalt=""src={summary.icon}css={styles.summaryIcon}/>
251
+<ExternalImage
252
+src={summary.icon}
253
+width={styles.summaryIcon.width}
254
+height={styles.summaryIcon.height}
255
+/>
256
<span>
257
{summary.count}<code>{type}</code>
258
</span>