WIP Multitabs: add more details to tab's label(display name)

This commit is contained in:
Hadi Nategh 2020-10-22 14:14:55 +02:00
parent 7d1cd4c12c
commit 978a1810bb
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ var AddressbookApp = /** @class */ (function (_super) {
extras.crm_list = _action.id.replace('view-', '');
}
this.egw.openTab(id, 'addressbook', 'view', extras, {
displayName: data.n_fn,
displayName: data.n_fn + "(" + egw.lang(extras.crm_list) + ")",
icon: data.photo,
refreshCallback: this.view_refresh,
id: id + '-' + extras.crm_list,

View File

@ -229,7 +229,7 @@ class AddressbookApp extends EgwApp
}
this.egw.openTab(id, 'addressbook', 'view', extras, {
displayName: data.n_fn,
displayName: data.n_fn+"("+egw.lang(extras.crm_list)+")",
icon: data.photo,
refreshCallback: this.view_refresh,
id: id+'-'+extras.crm_list,