From ba8cd17816e995f5ad609ec8c68e1a66651382ab Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 30 Oct 2020 12:26:14 +0100 Subject: [PATCH] Fix typo breaking CRM view --- addressbook/js/app.js | 2 +- addressbook/js/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/js/app.js b/addressbook/js/app.js index 15824cda63..048c53ba6a 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -207,7 +207,7 @@ var AddressbookApp = /** @class */ (function (_super) { } this.egw.openTab(id, 'addressbook', 'view', extras, { 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, refreshCallback: this.view_refresh, id: id + '-' + extras.crm_list, diff --git a/addressbook/js/app.ts b/addressbook/js/app.ts index c48fa0e7f9..fb641006d3 100644 --- a/addressbook/js/app.ts +++ b/addressbook/js/app.ts @@ -230,7 +230,7 @@ class AddressbookApp extends EgwApp this.egw.openTab(id, 'addressbook', 'view', extras, { 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, refreshCallback: this.view_refresh, id: id+'-'+extras.crm_list,