give protocol a bit more width (#503)

* give protocol a bit more width

* change to uppercase
This commit is contained in:
Erik Jan de Wit 2021-04-06 13:11:39 +02:00 committed by GitHub
parent 4d52871fc2
commit e75deb3305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ import { ViewHeader } from "../components/view-header/ViewHeader";
import { useAlerts } from "../components/alert/Alerts"; import { useAlerts } from "../components/alert/Alerts";
import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable"; import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable";
import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog"; import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog";
import { emptyFormatter } from "../util"; import { boolFormatter, emptyFormatter } from "../util";
import { import {
CellDropdown, CellDropdown,
ClientScope, ClientScope,
@ -268,12 +268,14 @@ export const ClientScopesSection = () => {
{ {
name: "protocol", name: "protocol",
displayKey: "client-scopes:protocol", displayKey: "client-scopes:protocol",
cellFormatters: [boolFormatter()],
transforms: [cellWidth(15)],
}, },
{ {
name: "attributes['gui.order']", name: "attributes['gui.order']",
displayKey: "client-scopes:displayOrder", displayKey: "client-scopes:displayOrder",
cellFormatters: [emptyFormatter()], cellFormatters: [emptyFormatter()],
transforms: [cellWidth(20)], transforms: [cellWidth(15)],
}, },
]} ]}
/> />