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: fix db actions in standalone mode (#10380)
boojack671cab42fadf
diff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vueindex 36134086b4..fe88c82610 100644--- a/frontend/src/components/ProjectDatabasesPanel.vue+++ b/frontend/src/components/ProjectDatabasesPanel.vue@@ -29,7 +29,10 @@table-class="border":show-selection-column="true":show-placeholder="true"+ :custom-click="isStandaloneMode":database-list="filteredDatabaseList"+ @select-database="(db: ComposedDatabase) =>+ toggleDatabasesSelection([db as ComposedDatabase], !isDatabaseSelected(db))"><template #selection-all="{ databaseList: selectedDatabaseList }"><NCheckbox@@ -113,6 +116,8 @@ const state = reactive<LocalState>({},});+const isStandaloneMode = computed(() => pageMode.value === "STANDALONE");+const selectedInstance = computed(() => {return (state.params.scopes.find((scope) => scope.id === "instance")?.value ??diff --git a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vueindex 4f6bc9c674..1ac22e3930 100644--- a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue+++ b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue@@ -453,7 +453,7 @@ const actions = computed((): DatabaseAction[] => {});- if (operationsInProjectDetail.value) {+ if (operationsInProjectDetail.value && !isStandaloneMode.value) {resp.push({icon: h(UnlinkIcon),text: t("database.unassign"),