Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set group name and number columns to handle Safari [DET-9948] [DET-9949] #8355

Merged
merged 3 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webui/react/src/pages/Admin/GroupManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const GroupManagement: React.FC = () => {
<Nameplate icon={<Icon name="group" title="Group" />} name={r.group.name ?? ''} />
),
title: 'Group',
width: 'fit-content',
width: '100%',
},
{
dataIndex: 'users',
Expand All @@ -273,7 +273,7 @@ const GroupManagement: React.FC = () => {
onCell: onRightClickableCell,
render: (_: string, r: V1GroupSearchResult) => r.numMembers,
title: 'Members',
width: 'fit-content',
width: '100%',
},
{
className: 'fullCell',
Expand Down
4 changes: 2 additions & 2 deletions webui/react/src/pages/Admin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const SettingsContent: React.FC = () => {
items.push({
children: <UserManagement />,
key: TAB_KEYS[TabType.UserManagement],
label: `${TabType.UserManagement} ${users.length}`,
label: `${TabType.UserManagement} (${users.length})`,
});
},
});
Expand All @@ -86,7 +86,7 @@ const SettingsContent: React.FC = () => {
items.push({
children: <GroupManagement />,
key: TAB_KEYS[TabType.GroupManagement],
label: `${TabType.GroupManagement} ${totalGroup ?? ''}`,
label: `${TabType.GroupManagement} ${totalGroup !== undefined ? `(${totalGroup})` : ''}`,
});
}

Expand Down