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 <AccountArrayEditor
{value} {value}
{label} {label}
readonly={readonly || (object.private && members.length === 0)} readonly={readonly || members.length === 0}
includeItems={object.private ? members : undefined} includeItems={members}
{onChange} {onChange}
{size} {size}
width={width ?? 'min-content'} width={width ?? 'min-content'}