fix(fe2): not firing workspace invites queries if FF is off (#2685)
* fix(fe2): not firing workspace invites queries if FF is off * added .value to ref
This commit is contained in:
committed by
GitHub
parent
e2d7172b0a
commit
248511070a
@@ -11,8 +11,7 @@ export = !FF_WORKSPACES_MODULE_ENABLED
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
},
|
||||
workspaceInvite: async () => {
|
||||
// Easier to manage in FE if this doesn't throw, just returns null
|
||||
return null
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
}
|
||||
},
|
||||
Mutation: {
|
||||
@@ -69,8 +68,7 @@ export = !FF_WORKSPACES_MODULE_ENABLED
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
},
|
||||
workspaceInvites: async () => {
|
||||
// Easier to manage in FE if this doesn't throw, just returns empty
|
||||
return []
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
}
|
||||
},
|
||||
Project: {
|
||||
|
||||
Reference in New Issue
Block a user