From ef9d81542a988c346b900c647671780fc8299278 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Thu, 21 Nov 2024 19:22:58 +0100 Subject: [PATCH] fix(restart-dialog): put correct status "restarting" on mutate --- .../app/components/dialogs/restart-dialog/restart-dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/modules/app/components/dialogs/restart-dialog/restart-dialog.tsx b/packages/frontend/src/modules/app/components/dialogs/restart-dialog/restart-dialog.tsx index b9bbb75b28..75d9f4fce2 100644 --- a/packages/frontend/src/modules/app/components/dialogs/restart-dialog/restart-dialog.tsx +++ b/packages/frontend/src/modules/app/components/dialogs/restart-dialog/restart-dialog.tsx @@ -24,7 +24,7 @@ export const RestartDialog: React.FC = ({ info, isOpen, onClose }) => { toast.error(t(e.message, e.intlParams)); }, onMutate: () => { - setOptimisticStatus('installing', info.id); + setOptimisticStatus('restarting', info.id); onClose(); }, });