Commit 8cfc89bc authored by Mike Greiling's avatar Mike Greiling

remove needless brackets object accessor syntax

parent b74b2d8e
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment