Skip to content

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

fix: visibility enum (#16746)

p0nyac1016e9dd2d
diff --git a/frontend/src/store/modules/v1/worksheet.ts b/frontend/src/store/modules/v1/worksheet.ts
index 74cadb6d7b..1aef27e899 100644
--- a/frontend/src/store/modules/v1/worksheet.ts
+++ b/frontend/src/store/modules/v1/worksheet.ts
@@ -204,7 +204,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {
const fetchSharedWorksheetList = async () => {
const me = useCurrentUserV1();
const request = create(SearchWorksheetsRequestSchema, {
- filter: `creator != "users/${me.value.email}" && visibility in ["PROJECT_READ","PROJECT_WRITE"]`,
+ filter: `creator != "users/${me.value.email}" && visibility in ["VISIBILITY_PROJECT_READ","VISIBILITY_PROJECT_WRITE"]`,
});
const response =
await worksheetServiceClientConnect.searchWorksheets(request);