Skip to content

Commit

Permalink
fix condition of disable status
Browse files Browse the repository at this point in the history
Signed-off-by: MiriSafra <[email protected]>
  • Loading branch information
MiriSafra committed Sep 22, 2024
1 parent 505282a commit 0f1a5ef
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,11 @@ export const ApplicationsTable: React.FC = () => {
? [
<DropdownItem
key="applications-bulk-cancel"
isDisabled={selectedRows.some(
(application: DecoratedApplication) =>
isDisabled={
!selectedRows.some((application: DecoratedApplication) =>
isTaskCancellable(application)
)}
)
}
onClick={() => {
handleCancelBulkAnalysis();
}}
Expand Down

0 comments on commit 0f1a5ef

Please sign in to comment.