Skip to content

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

fix: switch project in changelist dashboard (#12437)

ecmadao61b8e6e9cf8d
diff --git a/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue b/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue
index fc0e019b3e..dd226a62de 100644
--- a/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue
+++ b/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue
@@ -30,7 +30,7 @@ const props = defineProps<{
}>();
const { filter, events } = provideChangelistDashboardContext(
- props.project.name
+ computed(() => props.project.name)
);
const isFetching = ref(false);
diff --git a/frontend/src/components/Changelist/ChangelistDashboard/context.ts b/frontend/src/components/Changelist/ChangelistDashboard/context.ts
index ab76ac0677..f345d37683 100644
--- a/frontend/src/components/Changelist/ChangelistDashboard/context.ts
+++ b/frontend/src/components/Changelist/ChangelistDashboard/context.ts
@@ -26,7 +26,7 @@ export const useChangelistDashboardContext = () => {
};
export const provideChangelistDashboardContext = (
- project: string = "projects/-"
+ project: Ref<string> = ref("projects/-")
) => {
const context: ChangelistDashboardContext = {
filter: ref({