From 0a47d7ecf713ffc34ea4312a6ce10f04543435a2 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Wed, 15 May 2019 14:50:08 +0200 Subject: [PATCH] rundetail: disable stop button if already stopping --- src/components/rundetail.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/rundetail.vue b/src/components/rundetail.vue index 15584e3..a27c353 100644 --- a/src/components/rundetail.vue +++ b/src/components/rundetail.vue @@ -51,6 +51,7 @@ @@ -145,7 +146,10 @@ export default { if (task.status == "running") return "running"; return "unknown"; }, - stopRun: stopRun, + stopRun(runid) { + this.run.stopping = true; + stopRun(runid); + }, cancelRun: cancelRun, restartRun(runid, fromStart) { this.dropdownActive = false;