Throw WorkspacesModuleDisabledError when FF is off

This commit is contained in:
andrewwallacespeckle
2025-05-29 14:11:45 +02:00
parent fcd5a7b227
commit 71e732b52e
@@ -24,6 +24,11 @@ export = !FF_WORKSPACES_MODULE_ENABLED
Mutation: {
workspaceMutations: () => ({})
},
ActiveUserMutations: {
setActiveWorkspace: async () => {
throw new WorkspacesModuleDisabledError()
}
},
WorkspaceMutations: {
create: async () => {
throw new WorkspacesModuleDisabledError()