mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 10:42:19 +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';
|
||||
|
||||
export const Configuration = () => {
|
||||
const currentRoles = useCurrentRoles();
|
||||
const currentRoles = useCurrentRoles().filter((x) => x.name !== '__union__');
|
||||
return (
|
||||
<SchemaComponentOptions scope={{ currentRoles }} components={{ ExpiresSelect }}>
|
||||
<NocoBaseRecursionField schema={configurationSchema} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user