Skip to content
Snippets Groups Projects
Commit a812a915 authored by Regis's avatar Regis
Browse files

fix flash and request logic in stage

parent 9c5524df
No related branches found
No related tags found
No related merge requests found
Loading
@@ -19,9 +19,11 @@
Loading
@@ -19,9 +19,11 @@
.then((response) => { .then((response) => {
this.request = true; this.request = true;
this.builds = JSON.parse(response.body).html; this.builds = JSON.parse(response.body).html;
}, () => new Flash( }, () => {
'Something went wrong on our end.', const flash = new Flash('Something went wrong on our end.');
)); this.request = false;
return flash;
});
}, },
clearBuilds() { clearBuilds() {
this.builds = ''; this.builds = '';
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment