BigW Consortium Gitlab

Commit b4d8cb0c by Regis

changed fetchData to fetchDataLoop - ensured '#created' is part of Vue1 and Vue2

parent 308e0eb5
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
}, },
props: ['scope', 'store'], props: ['scope', 'store'],
created() { created() {
this.store.fetchData.call(this, Vue); this.store.fetchDataLoop.call(this, Vue);
}, },
methods: { methods: {
shortSha(pipeline) { shortSha(pipeline) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
((gl) => { ((gl) => {
gl.PipelineStore = class { gl.PipelineStore = class {
fetchData(Vue) { fetchDataLoop(Vue) {
const goFetch = vue => const goFetch = vue =>
this.$http.get(`/api/v3/projects/${this.scope}/pipelines`) this.$http.get(`/api/v3/projects/${this.scope}/pipelines`)
.then((response) => { .then((response) => {
......
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