ezqms-876: adjust role assignment editor (#5583)

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
Alexey Zinoviev 2024-05-12 21:29:32 +04:00 committed by GitHub
parent 1279a180ab
commit 9e6984e152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,8 +34,8 @@
<AccountArrayEditor
{value}
{label}
readonly={readonly || (object.private && members.length === 0)}
includeItems={object.private ? members : undefined}
readonly={readonly || members.length === 0}
includeItems={members}
{onChange}
{size}
width={width ?? 'min-content'}