mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: api keys role list remove union role (#6432)
This commit is contained in:
parent
6bbaabba73
commit
0740fd646c
@ -13,7 +13,7 @@ import { ExpiresSelect } from './ExpiresSelect';
|
|||||||
import { configurationSchema } from './schema';
|
import { configurationSchema } from './schema';
|
||||||
|
|
||||||
export const Configuration = () => {
|
export const Configuration = () => {
|
||||||
const currentRoles = useCurrentRoles();
|
const currentRoles = useCurrentRoles().filter((x) => x.name !== '__union__');
|
||||||
return (
|
return (
|
||||||
<SchemaComponentOptions scope={{ currentRoles }} components={{ ExpiresSelect }}>
|
<SchemaComponentOptions scope={{ currentRoles }} components={{ ExpiresSelect }}>
|
||||||
<NocoBaseRecursionField schema={configurationSchema} />
|
<NocoBaseRecursionField schema={configurationSchema} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user