Disable add button when nothing selected (#3244)
This commit is contained in:
parent
ea24e3b91d
commit
0622fe5480
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ export const AddScopeDialog = ({
|
|||
onAdd(scopes);
|
||||
toggleDialog();
|
||||
}}
|
||||
isDisabled={rows.length === 0}
|
||||
>
|
||||
{t("common:add")}
|
||||
</Button>,
|
||||
|
|
Loading…
Reference in a new issue