This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 152ea7abc feature[dashboard] Display version and gitCommitId in one
column (#2206)
152ea7abc is described below
commit 152ea7abc6330bce2d4285974ec58b694cd63ad1
Author: leewish <[email protected]>
AuthorDate: Mon Oct 21 19:28:27 2024 +0800
feature[dashboard] Display version and gitCommitId in one column (#2206)
### What changes were proposed in this pull request?
Display version and gitCommitId in one column
### Why are the changes needed?
Fix: #2205
### Does this PR introduce _any_ user-facing change?
Yes.
### How was this patch tested?
Locally
<img width="1299" alt="image"
src="https://github.com/user-attachments/assets/93ff9a00-b4ec-4b75-b725-726600639e31">
Co-authored-by: wenlongwlli <[email protected]>
---
dashboard/src/main/webapp/src/pages/ApplicationPage.vue | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/dashboard/src/main/webapp/src/pages/ApplicationPage.vue
b/dashboard/src/main/webapp/src/pages/ApplicationPage.vue
index 3de57355a..49278ce25 100644
--- a/dashboard/src/main/webapp/src/pages/ApplicationPage.vue
+++ b/dashboard/src/main/webapp/src/pages/ApplicationPage.vue
@@ -79,16 +79,13 @@
:formatter="dateFormatter"
sortable
/>
- <el-table-column
- prop="version"
- label="Version"
- min-width="180"
- />
- <el-table-column
- prop="gitCommitId"
- label="GitCommitId"
- min-width="180"
- />
+ <el-table-column label="Version" min-width="180">
+ <template v-slot="{ row }">
+ <div class="version">
+ {{ row.version }}_{{ row.gitCommitId }}
+ </div>
+ </template>
+ </el-table-column>
</el-table>
</div>
</div>