diff --git a/ui/console-src/modules/system/auth-providers/AuthProviderDetail.vue b/ui/console-src/modules/system/auth-providers/AuthProviderDetail.vue index eab704f8e..e12214d19 100644 --- a/ui/console-src/modules/system/auth-providers/AuthProviderDetail.vue +++ b/ui/console-src/modules/system/auth-providers/AuthProviderDetail.vue @@ -136,15 +136,36 @@ const handleSaveConfigMap = async () => { await handleFetchConfigMap(); saving.value = false; }; + +const displayName = computed(() => { + if (!authProvider.value) { + return t("core.common.status.loading"); + } + + return t( + `core.identity_authentication.fields.display_name.${authProvider.value?.metadata.name}`, + authProvider.value?.spec.displayName || "" + ); +}); + +const description = computed(() => { + if (!authProvider.value) { + return t("core.common.status.loading"); + } + + return t( + `core.identity_authentication.fields.description.${authProvider.value?.metadata.name}`, + authProvider.value?.spec.description || "" + ); +});