diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-14 18:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-14 18:09:28 +0300 |
commit | 307f6d8439ab4bcc33be5c34e63da004b8968634 (patch) | |
tree | 2d3f4cb2c2a784b17db245e6c98c11ff7f787700 /app/assets/javascripts/lib | |
parent | 9a5dcad39c5dd81384ae4ec2398435883b944363 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/axios_startup_calls.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/axios_startup_calls.js b/app/assets/javascripts/lib/utils/axios_startup_calls.js index a047cebc8ab..642bd948b61 100644 --- a/app/assets/javascripts/lib/utils/axios_startup_calls.js +++ b/app/assets/javascripts/lib/utils/axios_startup_calls.js @@ -33,6 +33,9 @@ const setupAxiosStartupCalls = axios => { fetchHeaders[key] = val; }); + // We can delete it as it anyhow should only be called once + delete startupCalls[fullUrl]; + // eslint-disable-next-line promise/no-nesting return res .clone() |