rundetail: set run phase to cancelled on cancelRun call

This commit is contained in:
Simone Gotti 2019-05-15 14:55:00 +02:00
parent 0a47d7ecf7
commit 336869fe73
1 changed files with 4 additions and 1 deletions

View File

@ -150,7 +150,10 @@ export default {
this.run.stopping = true;
stopRun(runid);
},
cancelRun: cancelRun,
cancelRun(runid) {
this.run.phase = "cancelled";
cancelRun(runid);
},
restartRun(runid, fromStart) {
this.dropdownActive = false;
restartRun(runid, fromStart);