This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new f91477ea7 [AMORO-2519] Improve the display of Duration in the page of
Optimizing>Tables to make it more user-friendly (#3694)
f91477ea7 is described below
commit f91477ea70d3df4474d4093546ce3b2bb3326858
Author: Jzjsnow <[email protected]>
AuthorDate: Mon Jul 28 14:29:29 2025 +0800
[AMORO-2519] Improve the display of Duration in the page of
Optimizing>Tables to make it more user-friendly (#3694)
---
amoro-web/src/views/optimize/components/List.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/amoro-web/src/views/optimize/components/List.vue
b/amoro-web/src/views/optimize/components/List.vue
index 4b6aea1f0..8f2f332a4 100644
--- a/amoro-web/src/views/optimize/components/List.vue
+++ b/amoro-web/src/views/optimize/components/List.vue
@@ -105,7 +105,7 @@ async function getTableList() {
return {
...p,
quotaOccupationDesc: p.quotaOccupation - 0.0005 > 0 ?
`${(p.quotaOccupation * 100).toFixed(1)}%` : '0',
- durationDesc: p.duration ? formatMS2Time(p.duration) : '-',
+ durationDesc: p.duration ? formatMS2DisplayTime(p.duration) : '-',
fileSizeDesc: bytesToSize(p.fileSize),
}
})
@@ -229,7 +229,7 @@ onMounted(async () => {
</template>
<template v-if="column.dataIndex === 'duration'">
<span :title="record.durationDesc">
- {{ formatMS2DisplayTime(record.duration || 0) }}
+ {{ formatMS2Time(record.duration || 0) }}
</span>
</template>
<template v-if="column.dataIndex === 'quotaOccupation'">