Skip to content

Commit a0768c4

Browse files
committed
Fix
1 parent 49df0a6 commit a0768c4

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

client/routes/execution/history.vue

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ export default {
113113
{ value: 'Decision', label: 'Decision' },
114114
{ value: 'Activity', label: 'Activity' },
115115
{ value: 'Signal', label: 'Signal' },
116-
{ value: 'Child Workflow', label: 'Child Workflow' },
117-
{ value: 'Others', label: 'Others' },
116+
{ value: 'Workflow', label: 'Workflow' },
118117
],
119118
splitSizes: [20, 80]
120119
}
@@ -124,7 +123,6 @@ export default {
124123
this.$watch('format', this.scrollEventIntoView.bind(this, true))
125124
this.$watch('eventId', this.scrollEventIntoView.bind(this, false))
126125
127-
this.eventType = ""
128126
this.recalcThWidths = debounce(() => {
129127
if (!this.$refs.thead) return
130128
var ths = Array.from(this.$refs.thead.querySelectorAll('th'))
@@ -173,16 +171,16 @@ export default {
173171
exportFilename() {
174172
return `${this.$route.params.workflowId.replace(/[\\~#%&*{}\/:<>?|\"-]/g, ' ')} - ${this.$route.params.runId}.json`
175173
},
176-
filteredEvents(){
177-
return this.$parent.results.filter(function(u) {
178-
if (this && this.eventType && this.eventType != "--"){
179-
return u.eventType.startsWith(this.eventType)
180-
}else{
181-
return true
182-
}
183-
})
184-
},
185-
174+
filteredEvents() {
175+
if (this && this.eventType && this.eventType != "--") {
176+
var et = this.eventType
177+
return this.$parent.results.filter(function (u) {
178+
return u.eventType.startsWith(et)
179+
})
180+
} else {
181+
return this.$parent.results
182+
}
183+
}
186184
},
187185
methods: {
188186
setEventType(et){

0 commit comments

Comments
 (0)