Skip to content

Commit 7b658f7

Browse files
"Add collection" modal - disable "Select" button when no collections are selected (#4193) (#4194)
No-Issue (cherry picked from commit 047dc91) Co-authored-by: Martin Hradil <mhradil@redhat.com>
1 parent b888603 commit 7b658f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/ansible-repository-collection-version-add.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const AddCollectionVersionModal = ({
133133
key='confirm'
134134
onClick={() => addAction(selected)}
135135
variant='primary'
136-
isDisabled={!selected}
136+
isDisabled={!selected.length}
137137
>
138138
{t`Select`}
139139
</Button>,

0 commit comments

Comments
 (0)