From e75deb33056493cce16e804b11488dc2c208877e Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 6 Apr 2021 13:11:39 +0200 Subject: [PATCH] give protocol a bit more width (#503) * give protocol a bit more width * change to uppercase --- src/client-scopes/ClientScopesSection.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client-scopes/ClientScopesSection.tsx b/src/client-scopes/ClientScopesSection.tsx index 65e1b1f279..21605f4064 100644 --- a/src/client-scopes/ClientScopesSection.tsx +++ b/src/client-scopes/ClientScopesSection.tsx @@ -19,7 +19,7 @@ import { ViewHeader } from "../components/view-header/ViewHeader"; import { useAlerts } from "../components/alert/Alerts"; import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable"; import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog"; -import { emptyFormatter } from "../util"; +import { boolFormatter, emptyFormatter } from "../util"; import { CellDropdown, ClientScope, @@ -268,12 +268,14 @@ export const ClientScopesSection = () => { { name: "protocol", displayKey: "client-scopes:protocol", + cellFormatters: [boolFormatter()], + transforms: [cellWidth(15)], }, { name: "attributes['gui.order']", displayKey: "client-scopes:displayOrder", cellFormatters: [emptyFormatter()], - transforms: [cellWidth(20)], + transforms: [cellWidth(15)], }, ]} />