This is an automated email from the ASF dual-hosted git repository.
zhoujinsong 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 b3bf85ab5 [hotfix] Cleanup empty columns from Cleanup and Profiling
pages (#4260)
b3bf85ab5 is described below
commit b3bf85ab5b74f553f5d63c79d25e3d1b14347c12
Author: WenLingzhang <[email protected]>
AuthorDate: Wed Jun 24 11:03:19 2026 +0800
[hotfix] Cleanup empty columns from Cleanup and Profiling pages (#4260)
Cleanup empty columns from Cleanup and Profiling pages
Co-authored-by: 张文领 <[email protected]>
---
amoro-web/src/views/tables/components/Optimizing.vue | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/amoro-web/src/views/tables/components/Optimizing.vue
b/amoro-web/src/views/tables/components/Optimizing.vue
index 8aa424456..dac192b47 100644
--- a/amoro-web/src/views/tables/components/Optimizing.vue
+++ b/amoro-web/src/views/tables/components/Optimizing.vue
@@ -57,16 +57,24 @@ const TASK_STATUS_CONFIG = shallowReactive({
})
const { t } = useI18n()
-const columns: IColumns[] = shallowReactive([
+const baseColumns: IColumns[] = [
{ title: t('processId'), dataIndex: 'processId' },
{ title: t('startTime'), dataIndex: 'startTime', width: 172 },
{ title: t('type'), dataIndex: 'optimizingType' },
{ title: t('status'), dataIndex: 'status' },
{ title: t('duration'), dataIndex: 'duration', width: 120 },
+]
+
+const optimizingColumns: IColumns[] = [
{ title: t('tasks'), dataIndex: 'tasks' },
{ title: t('finishTime'), dataIndex: 'finishTime', width: 172 },
{ title: t('input'), dataIndex: 'inputFiles' },
{ title: t('output'), dataIndex: 'outputFiles' },
+]
+
+const columns: IColumns[] = shallowReactive([
+ ...baseColumns,
+ ...(props.processCategory === 'OPTIMIZING' ? optimizingColumns : [{ title:
t('finishTime'), dataIndex: 'finishTime', width: 172 }]),
])
const breadcrumbColumns = shallowReactive([