Fix typo breaking CRM view

This commit is contained in:
Hadi Nategh 2020-10-30 12:26:14 +01:00
parent 3c956d0144
commit ba8cd17816
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ var AddressbookApp = /** @class */ (function (_super) {
} }
this.egw.openTab(id, 'addressbook', 'view', extras, { this.egw.openTab(id, 'addressbook', 'view', extras, {
displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name
: data.data.n_fn + " (" + egw.lang(extras.crm_list) + ")", : data.n_fn + " (" + egw.lang(extras.crm_list) + ")",
icon: data.photo, icon: data.photo,
refreshCallback: this.view_refresh, refreshCallback: this.view_refresh,
id: id + '-' + extras.crm_list, id: id + '-' + extras.crm_list,

View File

@ -230,7 +230,7 @@ class AddressbookApp extends EgwApp
this.egw.openTab(id, 'addressbook', 'view', extras, { this.egw.openTab(id, 'addressbook', 'view', extras, {
displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name
: data.data.n_fn+" ("+egw.lang(extras.crm_list)+")", : data.n_fn+" ("+egw.lang(extras.crm_list)+")",
icon: data.photo, icon: data.photo,
refreshCallback: this.view_refresh, refreshCallback: this.view_refresh,
id: id+'-'+extras.crm_list, id: id+'-'+extras.crm_list,