Skip to content

Commit

Permalink
added sorting by team name to user presence
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-aschlackman committed Dec 14, 2021
1 parent b58635f commit a3cf89e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class UserPresenceComponent implements OnInit, OnDestroy {
) {}

ngOnInit(): void {
this._teams = this.teamService.getMyViewTeams(this.viewId);
this._teams = this.teamService
.getMyViewTeams(this.viewId)
.pipe(map((x) => x.sort(firstBy('name'))));
this.notificationService.joinPresence(this.viewId);
}

Expand Down

0 comments on commit a3cf89e

Please sign in to comment.