Skip to content

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

fix: cannot find archived projects (#10663)

ecmadao163fcfdf155d
diff --git a/frontend/src/components/ProvideDashboardContext.vue b/frontend/src/components/ProvideDashboardContext.vue
index bd5871ea32..83e11c19c2 100644
--- a/frontend/src/components/ProvideDashboardContext.vue
+++ b/frontend/src/components/ProvideDashboardContext.vue
@@ -53,7 +53,7 @@ onMounted(async () => {
useUserStore().fetchUserList(),
useEnvironmentV1Store().fetchEnvironments(),
useInstanceV1Store().fetchInstanceList(),
- useProjectV1Store().fetchProjectList(),
+ useProjectV1Store().fetchProjectList(true /* showDeleted */),
]);
await Promise.all([prepareDatabases(), useUIStateStore().restoreState()]);
diff --git a/frontend/src/components/v2/Model/Instance/InstanceV1Table/InstanceV1Table.vue b/frontend/src/components/v2/Model/Instance/InstanceV1Table/InstanceV1Table.vue
index c3d14d80d6..0c11e5508a 100644
--- a/frontend/src/components/v2/Model/Instance/InstanceV1Table/InstanceV1Table.vue
+++ b/frontend/src/components/v2/Model/Instance/InstanceV1Table/InstanceV1Table.vue
@@ -1,6 +1,9 @@
<template>
<div class="space-y-2">
- <InstanceOperations :instance-list="selectedInstanceList" />
+ <InstanceOperations
+ v-if="showOperation"
+ :instance-list="selectedInstanceList"
+ />
<BBGrid
class="border-y"
:column-list="columnList"
@@ -87,6 +90,7 @@ const props = defineProps<{
instanceList: ComposedInstance[];
canAssignLicense: boolean;
allowSelection: boolean;
+ showOperation: boolean;
}>();
const { t } = useI18n();
diff --git a/frontend/src/views/Archive.vue b/frontend/src/views/Archive.vue
index ed4932965a..19b0b480d4 100644
--- a/frontend/src/views/Archive.vue
+++ b/frontend/src/views/Archive.vue
@@ -19,6 +19,7 @@
:allow-selection="false"
:can-assign-license="false"
:instance-list="filteredInstanceList"
+ :show-operation="false"
/>
<EnvironmentV1Table
v-else-if="state.selectedTab == 'ENVIRONMENT'"
diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vue
index a98a3efe10..22dcbd80a5 100644
--- a/frontend/src/views/InstanceDashboard.vue
+++ b/frontend/src/views/InstanceDashboard.vue
@@ -14,6 +14,7 @@
/>
<InstanceV1Table
:allow-selection="true"
+ :show-operation="true"
:instance-list="filteredInstanceV1List"
:can-assign-license="subscriptionStore.currentPlan !== PlanType.FREE"
/>