Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: custom style is not applied to FeatureBadge (#8582)
Tianzhou (天舟)a008a1448933
diff --git a/frontend/src/components/FeatureGuard/FeatureBadge.vue b/frontend/src/components/FeatureGuard/FeatureBadge.vueindex fd8caced28..ce43433a76 100644--- a/frontend/src/components/FeatureGuard/FeatureBadge.vue+++ b/frontend/src/components/FeatureGuard/FeatureBadge.vue@@ -8,14 +8,14 @@><NTooltip :show-arrow="true"><template #trigger>- <heroicons-solid:lock-closed class="text-accent w-5 h-5" />+ <heroicons-solid:lock-closed class="w-5 h-5" /></template><span class="w-56 text-sm">{{ $t("subscription.instance-assignment.missing-license-attention") }}</span></NTooltip></div>- <template v-else-if="!hasFeature">+ <div v-else-if="!hasFeature" :class="['text-accent', customClass]"><NTooltip :show-arrow="true"><template #trigger><router-link@@ -23,10 +23,10 @@to="/setting/subscription"exact-active-class="">- <heroicons-solid:sparkles class="text-accent w-5 h-5" />+ <heroicons-solid:sparkles class="w-5 h-5" /></router-link><span v-else>- <heroicons-solid:sparkles class="text-accent w-5 h-5" />+ <heroicons-solid:sparkles class="w-5 h-5" /></span></template><span class="w-56 text-sm">@@ -41,7 +41,7 @@}}</span></NTooltip>- </template>+ </div><InstanceAssignmentv-if="instanceMissingLicense && canManageSubscription":show="state.showInstanceAssignmentDrawer"diff --git a/frontend/src/views/SettingWorkspaceSSO.vue b/frontend/src/views/SettingWorkspaceSSO.vueindex 78bc92e195..181a7bb494 100644--- a/frontend/src/views/SettingWorkspaceSSO.vue+++ b/frontend/src/views/SettingWorkspaceSSO.vue@@ -15,6 +15,7 @@<div><buttonv-if="identityProviderList.length > 0"+ type="button"class="btn-primary"@click="handleCreateSSO">@@ -33,13 +34,12 @@<div class="text-center flex flex-col justify-center items-center"><img src="@/assets/illustration/no-data.webp" class="w-52" /><div class="mt-6">- <button- type="button"- class="inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"- @click="handleCreateSSO"- >+ <button type="button" class="btn-primary" @click="handleCreateSSO">{{ $t("settings.sso.create") }}- <FeatureBadge :feature="'bb.feature.sso'" custom-class="ml-2" />+ <FeatureBadge+ :feature="'bb.feature.sso'"+ custom-class="ml-2 !text-white"+ /></button></div></div>