Get rid of a bit of dead code around server suspensions (#3693)

Might fix some issues with people getting errors saying their servers are suspended when it's actually upgrading
This commit is contained in:
Emma Alexia
2025-05-25 15:36:07 -04:00
committed by GitHub
parent 034fd06284
commit 2ffd7476aa
5 changed files with 9 additions and 38 deletions

View File

@@ -60,15 +60,7 @@
Your server's hardware is currently being upgraded and will be back online shortly.
</div>
<div
v-if="status === 'suspended' && suspension_reason === 'support'"
class="relative -mt-4 flex w-full flex-row items-center gap-2 rounded-b-3xl bg-bg-blue p-4 text-sm font-bold text-contrast"
>
<HammerIcon />
You recently requested support for your server and we are actively working on it. It will be
back online shortly.
</div>
<div
v-else-if="status === 'suspended' && suspension_reason !== 'upgrading'"
v-else-if="status === 'suspended'"
class="relative -mt-4 flex w-full flex-col gap-2 rounded-b-3xl bg-bg-red p-4 text-sm font-bold text-contrast"
>
<div class="flex flex-row gap-2">