Skip to content

Commit

Permalink
fix condition (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidarroyo1234 authored Nov 20, 2023
1 parent 29d028a commit 20c766d
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 79 deletions.
172 changes: 95 additions & 77 deletions public/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ function App() {
// regarding what exactly is selected while scanning in progress.
disabled={
// if paused, allow to select all even if scan is not completed.
(!scanningPaused && state.percentage < 100) || !scanningPaused
state.percentage < 100 && !scanningPaused
}
checked={
state.selectedResults.length ===
Expand All @@ -909,7 +909,7 @@ function App() {
// regarding what exactly is selected while scanning in progress.
disabled={
// if paused, allow to select all even if scan is not completed.
(!scanningPaused && state.percentage < 100) || !scanningPaused
state.percentage < 100 && !scanningPaused
}
checked={
state.selectedResults.length ===
Expand Down

0 comments on commit 20c766d

Please sign in to comment.