Skip to content

Commit

Permalink
🪟 🐛 Allow users to cancel a sync on a disabled connection (#6496)
Browse files Browse the repository at this point in the history
  • Loading branch information
teallarson committed May 10, 2023
1 parent 3574723 commit 0e7cd9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const ConnectionSyncButtons: React.FC<ConnectionSyncButtonsProps> = ({
{(jobSyncRunning || jobResetRunning) && (
<Button
onClick={cancelJob}
disabled={syncStarting || resetStarting || !connectionEnabled}
disabled={syncStarting || resetStarting}
isLoading={cancelStarting}
variant="danger"
className={buttonClassName}
Expand Down

0 comments on commit 0e7cd9d

Please sign in to comment.