diff --git a/web/backoffice/src/lib/components/settings/App.svelte b/web/backoffice/src/lib/components/settings/App.svelte index ef84afc7..c313fc31 100644 --- a/web/backoffice/src/lib/components/settings/App.svelte +++ b/web/backoffice/src/lib/components/settings/App.svelte @@ -29,7 +29,7 @@ new ErrorHandler(true, () => inRequest = false)); } - let updateButtonActive = lastVersion !== null && version !== lastVersion && !inRequest && !updateRequested && !updateRunning; + $: updateButtonActive = lastVersion !== null && version !== lastVersion && !inRequest && !updateRequested && !updateRunning; function checkStatus(checkLastRelease: boolean) { getStatus(checkLastRelease, @@ -83,12 +83,12 @@ {#if updateRunning}

Update running! Please wait...

{/if} - {#if updateSuccess} + {#if updateSuccess && !updateRequested && !updateRunning} Update successful! {/if} - {#if updateFailed} + {#if updateFailed && !updateRequested && !updateRunning} Update failed!