Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27f66e0

Browse files
kuychacoTilde Ann Thurium
andcommitted
Populate user store in constructor
Co-authored-by: Tilde Ann Thurium <[email protected]>
1 parent b8d5650 commit 27f66e0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/controllers/git-tab-controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ export default class GitTabController extends React.Component {
190190
this.setState({mentionableUsers: users});
191191
},
192192
});
193-
this.userStore.populate();
194193
}
195194
}
196195

lib/models/user-store.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default class UserStore {
55
this.repository = repository;
66
this.onDidUpdate = onDidUpdate || (() => {});
77
this.users = {};
8+
this.populate();
89
}
910

1011
populate() {

0 commit comments

Comments
 (0)