Skip to content

Commit 98efd48

Browse files
committed
fix: enhance details display by adding table styles and skipping null values in key-value table
1 parent a8ee88a commit 98efd48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-info.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
class="border-l-4"
2323
:title="$t('term.fetch_failed')"
2424
/>
25-
<div v-else class="content info">
26-
<table v-if="!isEmptyInfo" class="table">
25+
<div v-else class="content info -mx-4 -my-3">
26+
<table v-if="!isEmptyInfo" class="table table-full table-striped">
2727
<tr v-for="(value, key) in info" :key="key">
2828
<td class="info__key" v-text="key" />
2929
<td>

spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-process.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div>
2020
<sba-alert v-if="error" :error="error" :title="$t('term.fetch_failed')" />
2121
<div v-else class="-mx-4 -my-3">
22-
<sba-key-value-table :map="tableData">
22+
<sba-key-value-table :map="tableData" skipNullValues>
2323
<template #uptime="value">
2424
<process-uptime :value="value.value" />
2525
</template>

0 commit comments

Comments
 (0)