diff --git a/extension/extend-admin-console-spi/src/main/java/org/keycloak/admin/ui/AdminUiPage.java b/extension/extend-admin-console-spi/src/main/java/org/keycloak/admin/ui/AdminUiPage.java index 22af144a4..e5c04f18e 100644 --- a/extension/extend-admin-console-spi/src/main/java/org/keycloak/admin/ui/AdminUiPage.java +++ b/extension/extend-admin-console-spi/src/main/java/org/keycloak/admin/ui/AdminUiPage.java @@ -24,7 +24,9 @@ import org.keycloak.services.ui.extend.UiPageProvider; import org.keycloak.services.ui.extend.UiPageProviderFactory; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * Implements UiPageProvider so it will be a master detail view in the admin ui of TODO items @@ -73,4 +75,11 @@ public List getConfigProperties() { .options("critical", "high priority", "neutral", "low priority", "unknown") .add().build(); } + + @Override + public Map getTypeMetadata() { + Map metaData = new HashMap<>(); + metaData.put("displayFields", List.of("name", "prio")); + return metaData; + } }