Skip to content

Commit 1821455

Browse files
Merge pull request #482 from aziontech/refactor/azion-system-status
fix: azion system status unify site/console
2 parents 70fb863 + cf160fe commit 1821455

3 files changed

Lines changed: 4 additions & 150 deletions

File tree

packages/webkit/src/components/azion-system-status/azion-system-status.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ async function checkComponentStatus() {
7979
updateSystemStatus(statusResult)
8080
} catch (err) {
8181
error.value = true
82-
// eslint-disable-next-line no-console
8382
console.error(err)
8483
}
8584
}
@@ -105,16 +104,16 @@ onMounted(() => {
105104
106105
<template>
107106
<PrimeButton
108-
outlined
109-
class="surface-section min-w-fit hover:surface-hover whitespace-nowrap"
107+
link
108+
class="surface-section min-w-fit whitespace-nowrap"
110109
icon="pi pi-circle-fill"
111110
size="small"
112111
v-show="!error"
113112
:label="label"
114113
:loading="!label"
115114
:pt="{
116-
root: { class: 'h-8 flex-row items-center' },
117-
label: { class: 'font-normal text-sm min-w-[9rem]' },
115+
root: { class: 'flex items-center gap-3 bg-transparent' },
116+
label: { class: 'font-proto-mono text-white leading-relaxed text-xs' },
118117
icon: { style: colorStatus, class: 'text-xs' }
119118
}"
120119
@click="redirectToLink"

packages/webkit/src/components/site/system-status/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/webkit/src/components/site/system-status/system-status.vue

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)