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

Commita833b7a

Browse files
fix: use AvatarData in OAuth2AppsSettings (#20342)
**Before:**<img width="1624" height="967" alt="Screenshot 2025-10-16 at 10 16 19"src="https://github.com/user-attachments/assets/7b3ebf4f-4096-41b6-b8f2-f1aa94a7ac87"/>**After:**<img width="1624" height="967" alt="Screenshot 2025-10-16 at 10 16 26"src="https://github.com/user-attachments/assets/a8d25ed4-1e40-4191-8d29-396121836443"/>
1 parent09a41f3 commita833b7a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎site/src/pages/DeploymentSettingsPage/OAuth2AppsSettingsPage/OAuth2AppsSettingsPageView.tsx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useTheme } from "@emotion/react";
22
importtype*asTypesGenfrom"api/typesGenerated";
33
import{ErrorAlert}from"components/Alert/ErrorAlert";
44
import{Avatar}from"components/Avatar/Avatar";
5+
import{AvatarData}from"components/Avatar/AvatarData";
56
import{Button}from"components/Button/Button";
67
import{
78
SettingsHeader,
@@ -101,10 +102,10 @@ const OAuth2AppRow: FC<OAuth2AppRowProps> = ({ app }) => {
101102
return(
102103
<TableRowkey={app.id}data-testid={`app-${app.id}`}{...clickableProps}>
103104
<TableCell>
104-
<Stackdirection="row"spacing={1}>
105-
<Avatarvariant="icon"src={app.icon}fallback={app.name}/>
106-
<spanclassName="font-semibold">{app.name}</span>
107-
</Stack>
105+
<AvatarData
106+
avatar={<Avatarvariant="icon"src={app.icon}fallback={app.name}/>}
107+
title={app.name}
108+
/>
108109
</TableCell>
109110

110111
<TableCell>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp