feat: dev-541 (#4858)

This commit is contained in:
Calum H.
2025-12-05 01:34:05 +00:00
committed by GitHub
parent a558064f9d
commit 0f1f27d450

View File

@@ -15,7 +15,19 @@
/>
</div>
<div
v-if="serverData?.status === 'suspended' && serverData.suspension_reason === 'upgrading'"
v-if="serverData && serverData.node === null && serverData.status !== 'suspended'"
class="flex min-h-[calc(100vh-4rem)] items-center justify-center text-contrast"
>
<ErrorInformationCard
title="We're getting your server ready"
description="Your server's hardware is being prepared and will be available shortly!"
:icon="TransferIcon"
icon-color="blue"
:action="generalErrorAction"
/>
</div>
<div
v-else-if="serverData?.status === 'suspended' && serverData.suspension_reason === 'upgrading'"
class="flex min-h-[calc(100vh-4rem)] items-center justify-center text-contrast"
>
<ErrorInformationCard
@@ -1150,6 +1162,12 @@ onMounted(() => {
return
}
// Skip node test if node is null (upgrading/provisioning)
if (server.general?.node === null) {
isLoading.value = false
return
}
server
.testNodeReachability()
.then((result) => {