#327413 Add title to group details screen.
This commit is contained in:
Родитель
da1b59a6c2
Коммит
464e4b006c
|
@ -41,7 +41,10 @@ export class GroupDetailsComponent implements OnInit {
|
|||
.then(user => this._currentUser = user);
|
||||
|
||||
let groupPrm = this._groupsService.getById(groupId)
|
||||
.then(group => this.group = group);
|
||||
.then(group => {
|
||||
this.group = group;
|
||||
this._page.actionBar.title = this.group.Name;
|
||||
});
|
||||
|
||||
Promise.all<any>([userPrm, groupPrm])
|
||||
.then(() => this._groupsService.getGroupMembers(this.group.Id))
|
||||
|
|
Загрузка…
Ссылка в новой задаче