Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: always show search box (#6069)

Liu Ji210b096cdc38
diff --git a/frontend/src/components/AlterSchemaPrepForm/ProjectStandardView.vue b/frontend/src/components/AlterSchemaPrepForm/ProjectStandardView.vue
index d4f9845939..60554c9f93 100644
--- a/frontend/src/components/AlterSchemaPrepForm/ProjectStandardView.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/ProjectStandardView.vue
@@ -1,12 +1,16 @@
<template>
<template v-if="state.alterType === 'MULTI_DB'">
<!-- multiple stage view -->
- <div v-if="databaseList.length === 0" class="textinfolabel">
- {{ $t("alter-schema.no-databases-in-project") }}
+ <div class="flex items-center justify-between">
+ <div>
+ <div v-if="databaseList.length === 0" class="textinfolabel">
+ {{ $t("alter-schema.no-databases-in-project") }}
+ </div>
+ </div>
+ <div>
+ <slot name="header"></slot>
+ </div>
</div>
- <template v-else>
- <slot name="header"></slot>
- </template>
<NCollapse
arrow-placement="left"