This commit is contained in:
Andras Bacsai
2022-12-07 12:17:06 +01:00
parent dcb29a80fe
commit 5e082c647c
13 changed files with 150 additions and 178 deletions

View File

@@ -167,7 +167,8 @@
}
}
async function getStatus() {
if (($status.application.loading && stopping) || $status.application.restarting === true) return;
if (($status.application.loading && stopping) || $status.application.restarting === true)
return;
$status.application.loading = true;
const data = await get(`/applications/${id}/status`);
@@ -453,7 +454,7 @@
<button
class="btn btn-sm gap-2"
disabled={!$isDeploymentEnabled}
on:click={() => handleDeploySubmit(false)}
on:click={() => handleDeploySubmit(true)}
>
{#if $status.application.overallStatus !== 'degraded'}
<svg