Skip to content

Commit

Permalink
fix(sources): discovery-154, activate scans button
Browse files Browse the repository at this point in the history
* sources, 2 or more selections, activate button
  • Loading branch information
cdcabrera committed Sep 15, 2022
1 parent 5e9371e commit 8634cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sources/sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const Sources = ({
<Button onClick={onShowAddSourceWizard}>{t('table.label', { context: 'add' })}</Button>{' '}
<Button
variant={ButtonVariant.secondary}
isDisabled={Object.values(selectedRows).filter(val => val !== null).length === 0}
isDisabled={Object.values(selectedRows).filter(val => val !== null).length <= 1}
onClick={onScanSources}
>
{t('table.label', { context: 'scan' })}
Expand Down

0 comments on commit 8634cd9

Please sign in to comment.