diff options
-rw-r--r-- | app/assets/javascripts/users/user_tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/users/user_tabs.js b/app/assets/javascripts/users/user_tabs.js index c499c403e28..5b9f3a68138 100644 --- a/app/assets/javascripts/users/user_tabs.js +++ b/app/assets/javascripts/users/user_tabs.js @@ -154,7 +154,7 @@ export default class UserTabs { } loadActivities() { - if (this.loaded['activity']) { + if (this.loaded.activity) { return; } const $calendarWrap = this.$parentEl.find('.user-calendar'); @@ -172,7 +172,7 @@ export default class UserTabs { }); new gl.Activities(); - this.loaded['activity'] = true; + this.loaded.activity = true; } toggleLoading(status) { |