From 5483861055d4d8af71e15cc3c768c23522a94055 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 6 Nov 2023 13:15:57 -0800 Subject: [PATCH] fix(web): Update OS auto redirect loop with account --- web/components/UpdateOs/CallbackButton.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/UpdateOs/CallbackButton.vue b/web/components/UpdateOs/CallbackButton.vue index 3c7cd959d..d39a406f6 100644 --- a/web/components/UpdateOs/CallbackButton.vue +++ b/web/components/UpdateOs/CallbackButton.vue @@ -15,9 +15,9 @@ const updateOsActionsStore = useUpdateOsActionsStore(); const { rebootType } = storeToRefs(updateOsActionsStore); onBeforeMount(() => { - // On /Tools/Update automatically send the user to account.unraid.net/server/update-os when we're not prompting for reboot + /** when we're not prompting for reboot /Tools/Update will automatically send the user to account.unraid.net/server/update-os */ if (window.location.pathname === WEBGUI_TOOLS_UPDATE.pathname && rebootType.value === '') { - updateOsActionsStore.executeUpdateOsCallback(); + updateOsActionsStore.executeUpdateOsCallback('replace'); } });