()
| 292 | |
| 293 | // review later |
| 294 | public async loadCurrentTeamDataStoreMethod() { |
| 295 | if (this.currentTeam) { |
| 296 | await this.currentTeam |
| 297 | .loadTeamMembersStoreMethod() |
| 298 | .catch((err) => console.error('Error while loading Users', err)); |
| 299 | |
| 300 | await this.loadActiveDiscussionsStoreMethod({ teamId: this.currentTeam.teamId }).catch( |
| 301 | (err) => console.error('Error while loading Discussions', err), |
| 302 | ); |
| 303 | |
| 304 | await this.loadChatsStoreMethod({ teamId: this.currentTeam.teamId }).catch((err) => |
| 305 | console.error('Error while loading Chats', err), |
| 306 | ); |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | public async setCurrentTeamStoreMethod(teamId: string) { |
| 311 | if (this.currentTeam) { |
no test coverage detected