Skip to content

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

chore: fix unnecessary 403 that makes SSO weird (#13334)

Liu Ji8214aec11606
diff --git a/frontend/src/store/modules/v1/project.ts b/frontend/src/store/modules/v1/project.ts
index 27cd93b3c0..13720c92c5 100644
--- a/frontend/src/store/modules/v1/project.ts
+++ b/frontend/src/store/modules/v1/project.ts
@@ -180,7 +180,7 @@ export const useProjectByName = (name: MaybeRef<string>) => {
const ready = ref(false);
watchEffect(() => {
ready.value = false;
- store.getOrFetchProjectByName(unref(name)).then(() => {
+ store.getOrFetchProjectByName(unref(name), /* silent */ true).then(() => {
ready.value = true;
});
});
diff --git a/frontend/src/store/modules/v1/setting.ts b/frontend/src/store/modules/v1/setting.ts
index b3a3c7b559..682a5742c9 100644
--- a/frontend/src/store/modules/v1/setting.ts
+++ b/frontend/src/store/modules/v1/setting.ts
@@ -135,6 +135,6 @@ export const useSettingV1Store = defineStore("setting_v1", {
export const useSettingByName = (name: SettingName) => {
const store = useSettingV1Store();
const setting = computed(() => store.getSettingByName(name));
- store.getOrFetchSettingByName(name);
+ store.getOrFetchSettingByName(name, /* silent */ true);
return setting;
};