Commit f5fac83c authored by Kev's avatar Kev

Replace getTrace with getLogs

parent 7bde505d
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
}, },
}, },
mounted() { mounted() {
this.getTrace(); this.getLogs();
}, },
methods: { methods: {
...mapActions('pipelines', ['fetchJobLogs', 'setDetailJob']), ...mapActions('pipelines', ['fetchJobLogs', 'setDetailJob']),
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
this.scrollPos = ''; this.scrollPos = '';
} }
}), }),
getTrace() { getLogs() {
return this.fetchJobLogs().then(() => this.scrollDown()); return this.fetchJobLogs().then(() => this.scrollDown());
}, },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment