diff --git a/client/src/app/pages/applications/applications-table/applications-table.tsx b/client/src/app/pages/applications/applications-table/applications-table.tsx index 747b91b22..6d2bc93a0 100644 --- a/client/src/app/pages/applications/applications-table/applications-table.tsx +++ b/client/src/app/pages/applications/applications-table/applications-table.tsx @@ -574,15 +574,14 @@ export const ApplicationsTable: React.FC = () => { > {t("actions.delete")} , - ...(tasksReadAccess && - tasksWriteAccess && - selectedRows.some((application: DecoratedApplication) => - isTaskCancellable(application) - ) + ...(tasksReadAccess && tasksWriteAccess ? [ + isTaskCancellable(application) + )} onClick={() => { handleCancelBulkAnalysis(); }}