You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/01/14 16:50:59 UTC
[airavata-django-portal] branch develop updated: AIRAVATA-3560 Removing spinner for response parsing as unnecessary and this fixes the issue of the spinner briefly flashing when showSpinner=false
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/develop by this push:
new 65aaa2d AIRAVATA-3560 Removing spinner for response parsing as unnecessary and this fixes the issue of the spinner briefly flashing when showSpinner=false
65aaa2d is described below
commit 65aaa2da46d48b8a1974b67b4ae6e3fa8b514127
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jan 14 11:50:40 2022 -0500
AIRAVATA-3560 Removing spinner for response parsing as unnecessary and this fixes the issue of the spinner briefly flashing when showSpinner=false
---
.../apps/api/static/django_airavata_api/js/utils/FetchUtils.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/django_airavata/apps/api/static/django_airavata_api/js/utils/FetchUtils.js b/django_airavata/apps/api/static/django_airavata_api/js/utils/FetchUtils.js
index c9b8dcb..8a52802 100644
--- a/django_airavata/apps/api/static/django_airavata_api/js/utils/FetchUtils.js
+++ b/django_airavata/apps/api/static/django_airavata_api/js/utils/FetchUtils.js
@@ -221,10 +221,8 @@ export default {
if (response.status === 204) {
return Promise.resolve();
} else {
- incrementCount();
return Promise.resolve(
response[responseType]().then((responseData) => {
- decrementCount();
return responseData;
})
);