Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb23e3f9

Browse files
authored
fix: change resource icon colors in the delete modal based on the set theme (#16550)
1 parentdb76728 commitb23e3f9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎site/src/pages/WorkspacesPage/BatchDeleteConfirmation.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import ScheduleIcon from "@mui/icons-material/Schedule";
44
import{visuallyHidden}from"@mui/utils";
55
importtype{Workspace}from"api/typesGenerated";
66
import{ConfirmDialog}from"components/Dialogs/ConfirmDialog/ConfirmDialog";
7+
import{ExternalImage}from"components/ExternalImage/ExternalImage";
78
import{Stack}from"components/Stack/Stack";
89
importdayjsfrom"dayjs";
910
importrelativeTimefrom"dayjs/plugin/relativeTime";
@@ -247,7 +248,11 @@ const Resources: FC<StageProps> = ({ workspaces }) => {
247248
>
248249
{Object.entries(resources).map(([type,summary])=>(
249250
<Stackkey={type}direction="row"alignItems="center"spacing={1}>
250-
<imgalt=""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>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp