Skip to content

Commit

Permalink
🪟 🐛 disable launch button for disabled connections (#17172)
Browse files Browse the repository at this point in the history
  • Loading branch information
teallarson authored Sep 26, 2022
1 parent 8c63133 commit c49a532
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const StatusCell: React.FC<IProps> = ({ enabled, isManual, id, isSyncing, onSync
}

return (
<SmallButton onClick={OnLaunch} isLoading={loading} disabled={!allowSync}>
<SmallButton onClick={OnLaunch} isLoading={loading} disabled={!allowSync || !enabled}>
<FormattedMessage id="tables.launch" />
</SmallButton>
);
Expand Down

0 comments on commit c49a532

Please sign in to comment.