diff --git a/frontend/src/components/FleetView.tsx b/frontend/src/components/FleetView.tsx index 3d1f031b..ad407a80 100644 --- a/frontend/src/components/FleetView.tsx +++ b/frontend/src/components/FleetView.tsx @@ -640,6 +640,7 @@ export function FleetView({ onNavigateToNode }: FleetViewProps) { const [localUpdateConfirm, setLocalUpdateConfirm] = useState(null); const [showUpdateModal, setShowUpdateModal] = useState(false); const [checkingUpdates, setCheckingUpdates] = useState(false); + const [recheckingUpdates, setRecheckingUpdates] = useState(false); const [modalSearch, setModalSearch] = useState(''); const updateStatusesRef = useRef(updateStatuses); updateStatusesRef.current = updateStatuses; @@ -1352,15 +1353,15 @@ export function FleetView({ onNavigateToNode }: FleetViewProps) { variant="ghost" size="sm" className="h-7 text-xs text-muted-foreground" - disabled={checkingUpdates} + disabled={recheckingUpdates} onClick={async () => { - setCheckingUpdates(true); + setRecheckingUpdates(true); await apiFetch('/fleet/update-status?recheck=true', { method: 'DELETE', localOnly: true }); await fetchUpdateStatus(); - setCheckingUpdates(false); + setRecheckingUpdates(false); }} > - + Recheck {updatableRemoteCount > 0 && (