From 336869fe730cad3a0c5ba1dff32a2bf966963e62 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Wed, 15 May 2019 14:55:00 +0200 Subject: [PATCH] rundetail: set run phase to cancelled on cancelRun call --- src/components/rundetail.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/rundetail.vue b/src/components/rundetail.vue index a27c353..079a337 100644 --- a/src/components/rundetail.vue +++ b/src/components/rundetail.vue @@ -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);