From 6b8170324bbd0a1dbff250c8a724b63c98430db4 Mon Sep 17 00:00:00 2001 From: "Buster \"Silver Eagle\" Neece" Date: Fri, 1 Oct 2021 16:21:52 -0500 Subject: [PATCH] Switch to finally for operation. --- frontend/vue/vendor/bootstrapVue.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/vue/vendor/bootstrapVue.js b/frontend/vue/vendor/bootstrapVue.js index 6155f82d9..a9395a91c 100644 --- a/frontend/vue/vendor/bootstrapVue.js +++ b/frontend/vue/vendor/bootstrapVue.js @@ -96,9 +96,7 @@ const BootstrapVueNotifiers = { Vue.prototype.$wrapWithLoading = function (promise) { this.$setLoading(true); - promise.then(() => { - this.$setLoading(false); - }).catch(() => { + promise.finally(() => { this.$setLoading(false); });