Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: move the no-db banner from deployment config to database panel (#13834)
Tianzhou (天舟)2caa036e4ce9
diff --git a/frontend/src/components/DeploymentConfigTool/DeploymentMatrix.vue b/frontend/src/components/DeploymentConfigTool/DeploymentMatrix.vueindex 570410eb30..278d859641 100644--- a/frontend/src/components/DeploymentConfigTool/DeploymentMatrix.vue+++ b/frontend/src/components/DeploymentConfigTool/DeploymentMatrix.vue@@ -1,19 +1,6 @@<template><div class="space-y-2 w-192 px-1">- <div v-if="databaseList.length === 0" class="textinfolabel px-10 py-4">- <i18n-t keypath="project.overview.no-db-prompt" tag="p">- <template #newDb>- <span class="text-main">{{ $t("quick-action.new-db") }}</span>- </template>- <template #transferInDb>- <span class="text-main">- {{ $t("quick-action.transfer-in-db") }}- </span>- </template>- </i18n-t>- </div>-- <template v-else>+ <template v-if="databaseList.length != 0"><div class="flex justify-end items-center"><NInputGroup style="width: auto" class="py-0.5"><NInputGroupLabeldiff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vueindex 89c8c94ee5..63a662aea2 100644--- a/frontend/src/components/ProjectDatabasesPanel.vue+++ b/frontend/src/components/ProjectDatabasesPanel.vue@@ -1,5 +1,17 @@<template><div class="space-y-4">+ <div v-if="databaseList.length === 0" class="textinfolabel p-2">+ <i18n-t keypath="project.overview.no-db-prompt" tag="p">+ <template #newDb>+ <span class="text-main">{{ $t("quick-action.new-db") }}</span>+ </template>+ <template #transferInDb>+ <span class="text-main">+ {{ $t("quick-action.transfer-in-db") }}+ </span>+ </template>+ </i18n-t>+ </div><divclass="w-full flex flex-col sm:flex-row items-start sm:items-end justify-between gap-2">