Throw WorkspacesModuleDisabledError when FF is off
This commit is contained in:
@@ -24,6 +24,11 @@ export = !FF_WORKSPACES_MODULE_ENABLED
|
||||
Mutation: {
|
||||
workspaceMutations: () => ({})
|
||||
},
|
||||
ActiveUserMutations: {
|
||||
setActiveWorkspace: async () => {
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
}
|
||||
},
|
||||
WorkspaceMutations: {
|
||||
create: async () => {
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
|
||||
Reference in New Issue
Block a user