diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 15:10:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 15:10:56 +0300 |
commit | 0afd7f18171f70cb8f4296ff9a32381c6919027f (patch) | |
tree | bb06aa12dc2060b987ec581a997b7464dff220a7 /app/assets/javascripts/api.js | |
parent | f0aaec1f670ca31d6d438556c3b7327699cbe8ef (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r-- | app/assets/javascripts/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index 516235657cb..8c447914be5 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -866,7 +866,7 @@ const Api = { }, trackRedisHllUserEvent(event) { - if (!gon.features?.usageDataApi) { + if (!gon.current_user_id || !gon.features?.usageDataApi) { return null; } |