mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: update enterprise users query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9292 GitOrigin-RevId: 692e2c66f6689426f5f9d369cc03b06978acfecf
This commit is contained in:
parent
7e4c24aea0
commit
a7fa1befd8
@ -540,7 +540,7 @@ const idTokenReceived =
|
||||
privileges: decodedToken.payload.collaborator_privileges || [],
|
||||
metricsFQDN: decodedToken.payload.metrics_fqdn,
|
||||
plan_name: project?.plan_name,
|
||||
is_enterprise_user: project?.enterprise_users?.is_active,
|
||||
is_enterprise_user: project?.owner?.enterprise_user?.is_active,
|
||||
entitlements: project?.entitlements,
|
||||
},
|
||||
});
|
||||
@ -780,6 +780,9 @@ export const loadLuxProjectInfo = () => (dispatch, getState) => {
|
||||
owner {
|
||||
id
|
||||
email
|
||||
enterprise_user {
|
||||
is_active
|
||||
}
|
||||
}
|
||||
name
|
||||
collaborators {
|
||||
@ -798,9 +801,6 @@ export const loadLuxProjectInfo = () => (dispatch, getState) => {
|
||||
}
|
||||
}
|
||||
plan_name
|
||||
enterprise_users {
|
||||
is_active
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
@ -844,7 +844,7 @@ export const loadLuxProjectInfo = () => (dispatch, getState) => {
|
||||
).map(p => p.privilege_slug),
|
||||
metricsFQDN: project.tenant?.region_info?.metrics_fqdn || '',
|
||||
plan_name: project?.plan_name,
|
||||
is_enterprise_user: project?.enterprise_users?.is_active,
|
||||
is_enterprise_user: project?.owner?.enterprise_user?.is_active,
|
||||
entitlements: project?.entitlements,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user