# HG changeset patch # User Thomas Junk # Date 1585558333 -7200 # Node ID 03f28c5d2a88e9e1a30c07d5e3617862163a54e2 # Parent 53618d18e387999128b7809ae3741f7c6f16783c Import overview: Show busy-spinner during dispatch of review-request. To indicate activity the busy-spinner is fired up during the request for the reviews is running. After the request is done, independently from the result, the spinner is deactivated (finally). diff -r 53618d18e387 -r 03f28c5d2a88 client/src/components/importoverview/ImportOverview.vue --- a/client/src/components/importoverview/ImportOverview.vue Fri Mar 27 15:42:11 2020 +0100 +++ b/client/src/components/importoverview/ImportOverview.vue Mon Mar 30 10:52:13 2020 +0200 @@ -482,6 +482,8 @@ id: r.id, state: r.status })); + console.log("dispatching confirm"); + this.loading = true; this.$store .dispatch("imports/confirmReview", data) .then(response => { @@ -522,6 +524,10 @@ title: this.$gettext("Backend Error"), message: message }); + }) + .finally(() => { + console.log("end dispatching confirm"); + this.loading = false; }); } },