docs: warn of shutdown conditions

This commit is contained in:
Carlos Valente
2024-09-18 21:15:22 +02:00
committed by Carlos Valente
parent 5b471980f5
commit d8cf1abb37
@@ -34,6 +34,7 @@ export default function ShutdownPanel() {
<Button colorScheme='red' onClick={onOpen} maxWidth='350px' isDisabled={!isElectron}>
Shutdown ontime
</Button>
<Panel.Description>Note: Ontime can only be shutdown from the machine it is running in.</Panel.Description>
<AlertDialog variant='ontime' isOpen={isOpen} leastDestructiveRef={cancelRef} onClose={onClose}>
<AlertDialogOverlay>
<AlertDialogContent>