remove needless brackets object accessor syntax

This commit is contained in:
Mike Greiling 2017-07-27 14:41:26 -05:00
parent b74b2d8e86
commit 8cfc89bc9b

View file

@ -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) {