Skip to content

Commit 8c045ae

Browse files
himdelpatchback[bot]
authored andcommitted
"Add collection" modal - disable "Select" button when no collections are selected (#4193)
No-Issue (cherry picked from commit 047dc91)
1 parent b888603 commit 8c045ae

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)