#327413 Add title to group details screen.

This commit is contained in:
Georgi Prodanov 2017-02-01 17:38:13 +02:00
Родитель da1b59a6c2
Коммит 464e4b006c
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -41,7 +41,10 @@ export class GroupDetailsComponent implements OnInit {
.then(user => this._currentUser = user); .then(user => this._currentUser = user);
let groupPrm = this._groupsService.getById(groupId) 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]) Promise.all<any>([userPrm, groupPrm])
.then(() => this._groupsService.getGroupMembers(this.group.Id)) .then(() => this._groupsService.getGroupMembers(this.group.Id))