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: backup setting display (#16597)
boojack6c32bb506d75
diff --git a/frontend/src/components/IssueV1/components/Sidebar/PreBackupSection/TaskRollbackSection.vue b/frontend/src/components/IssueV1/components/Sidebar/PreBackupSection/TaskRollbackSection.vueindex 6cea1325f0..e6a331b463 100644--- a/frontend/src/components/IssueV1/components/Sidebar/PreBackupSection/TaskRollbackSection.vue+++ b/frontend/src/components/IssueV1/components/Sidebar/PreBackupSection/TaskRollbackSection.vue@@ -1,6 +1,6 @@<template><div- class="w-full flex items-center justify-between gap-x-2 gap-y-1 flex-wrap min-h-[34px] whitespace-nowrap"+ class="w-full flex items-center justify-between gap-x-2 gap-y-1 flex-wrap whitespace-nowrap"><NTooltip><template #trigger>diff --git a/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue b/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vueindex 6e5ed307cc..0d03e068d4 100644--- a/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue+++ b/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue@@ -5,13 +5,14 @@<ReviewSection /><IssueLabels />- <template- v-if="+ <div+ v-show="selectedSpec && (shouldShowPreBackupSection || shouldShowGhostSection)"+ class="space-y-2"><div class="border-t -mx-3" />- <NTooltip :showArrow="false">+ <NTooltip v-if="selectedSpec" :showArrow="false"><template #trigger><p class="textinfolabel">{{ $t("plan.options.self") }}@@ -31,7 +32,7 @@</NTooltip><PreBackupSection ref="preBackupSectionRef" /><GhostSection v-if="shouldShowGhostSection" />- </template>+ </div></div></template>diff --git a/frontend/src/components/Plan/components/Configuration/PreBackupSection/PreBackupSection.vue b/frontend/src/components/Plan/components/Configuration/PreBackupSection/PreBackupSection.vueindex a4cf611a77..5a40279c83 100644--- a/frontend/src/components/Plan/components/Configuration/PreBackupSection/PreBackupSection.vue+++ b/frontend/src/components/Plan/components/Configuration/PreBackupSection/PreBackupSection.vue@@ -1,6 +1,6 @@<template><div- class="w-full flex items-center justify-start gap-x-2 flex-wrap min-h-[34px] whitespace-nowrap"+ class="w-full flex items-center justify-start gap-x-2 flex-wrap whitespace-nowrap"><PreBackupSwitch /><NTooltip>diff --git a/frontend/src/components/Plan/components/Configuration/PreBackupSection/context.ts b/frontend/src/components/Plan/components/Configuration/PreBackupSection/context.tsindex 272cd49e47..e5a6277b10 100644--- a/frontend/src/components/Plan/components/Configuration/PreBackupSection/context.ts+++ b/frontend/src/components/Plan/components/Configuration/PreBackupSection/context.ts@@ -80,7 +80,7 @@ export const providePreBackupSettingContext = (refs: {if (isDatabaseChangeSpec(selectedSpec.value)) {// If any of the databases in the spec is not supported, do not show.if (- !databases.value.some((db) =>+ !databases.value.every((db) =>BACKUP_AVAILABLE_ENGINES.includes(db.instanceResource.engine))) {