This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 52c90186d27f244587a4376db22bf6ceab13080f
Author: Qian Xia <lauraxiaq...@gmail.com>
AuthorDate: Thu Jul 27 16:34:06 2023 +0800

    KYLIN-5669 refine job detail issue
---
 kystudio/src/components/monitor/batchJobs/jobs.vue | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/kystudio/src/components/monitor/batchJobs/jobs.vue 
b/kystudio/src/components/monitor/batchJobs/jobs.vue
index 03fa732b67..50d2594b33 100644
--- a/kystudio/src/components/monitor/batchJobs/jobs.vue
+++ b/kystudio/src/components/monitor/batchJobs/jobs.vue
@@ -487,6 +487,8 @@ export default class JobsList extends Vue {
   progressIconClass (status) {
     if (status === 'STOPPED') {
       return 'el-ksd-n-icon-pause-circle-filled'
+    } else if (status === 'DISCARDED') {
+      return 'el-ksd-n-icon-error-circle-filled discarded'
     } else {
       return ''
     }
@@ -728,6 +730,9 @@ export default class JobsList extends Vue {
                 }, (resError) => {
                   handleError(resError)
                 })
+              } else {
+                this.selectedJob = {}
+                this.showStep = false
               }
             }
             if (this.multipleSelection.length) {
@@ -746,6 +751,8 @@ export default class JobsList extends Vue {
           } else {
             this.jobsList = []
             this.jobTotal = 0
+            this.selectedJob = {}
+            this.showStep = false
           }
           this.searchLoading = false
         })
@@ -1345,6 +1352,9 @@ export default class JobsList extends Vue {
         .el-ksd-n-icon-pause-circle-filled {
           color: @ke-color-primary;
         }
+        .el-ksd-n-icon-error-circle-filled.discarded {
+          color: @ke-color-info-secondary;
+        }
       }
     }
     .el-progress-bar__innerText {

Reply via email to