mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(SelfCheck): improve error message handling and update upgrade logic
This commit is contained in:
parent
8bbb2ff559
commit
9f6f9088c4
3 changed files with 12 additions and 7 deletions
|
@ -38,9 +38,9 @@ onMounted(() => {
|
|||
<div>
|
||||
{{ item.description?.() }}
|
||||
</div>
|
||||
<div v-if="item.status !== 'success'" class="mt-1">
|
||||
<div v-if="item.status !== 'success' && item.err?.message" class="mt-1">
|
||||
<ATag :color="item.status === 'warning' ? 'warning' : 'error'">
|
||||
{{ item.err?.message || $gettext('Unknown issue') }}
|
||||
{{ $gettext(item.err?.message) }}
|
||||
</ATag>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue