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);
|
onAdd(scopes);
|
||||||
toggleDialog();
|
toggleDialog();
|
||||||
}}
|
}}
|
||||||
|
isDisabled={rows.length === 0}
|
||||||
>
|
>
|
||||||
{t("common:add")}
|
{t("common:add")}
|
||||||
</Button>,
|
</Button>,
|
||||||
|
|
Loading…
Reference in a new issue