diff --git a/src/common/livefile/LiveFileControlButton.tsx b/src/common/livefile/LiveFileControlButton.tsx index 8941ee389..d8fed0cc9 100644 --- a/src/common/livefile/LiveFileControlButton.tsx +++ b/src/common/livefile/LiveFileControlButton.tsx @@ -84,7 +84,6 @@ export function LiveFileControlButton(props: { : 'Set up live file pairing' } color='success' - variant='outlined' placement='top-end' > )} {/* Save to File */} - {fileIsDifferent && ( + {fileIsDifferent && !isError && ( )} {/* Reassign File button */} - + {/* Close button */} - - - + + + ); - }, [fileHasContent, fileIsDifferent, handleCloseFile, handleLoadFromDisk, handlePairNewFileWithPicker, handleSaveToDisk, _handleReloadFileContent, isMobile, isPairingValid, isSavingFile, status]); + }, [fileHasContent, fileIsDifferent, handleStopLiveFile, handleLoadFromDisk, handlePairNewFileWithPicker, handleSaveToDisk, _handleReloadFileContent, isMobile, isPairingValid, isSavingFile, status]); // Auto-click on 'refresh' on window focus