From 7f7aa76895e02017afd21c7a03acb9d51c9f912a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20Sch=C3=BCle?=
Date: Wed, 6 Nov 2024 16:18:49 +0100
Subject: [PATCH] Revert "text(Addressbook/AddressPanel): improve var naming"
This reverts commit 2f55ae824991f22a0a10b60b233569b82d51ee38.
---
tine20/Addressbook/js/AddressPanel.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tine20/Addressbook/js/AddressPanel.js b/tine20/Addressbook/js/AddressPanel.js
index 609c3ead8c..85a61395af 100644
--- a/tine20/Addressbook/js/AddressPanel.js
+++ b/tine20/Addressbook/js/AddressPanel.js
@@ -11,11 +11,11 @@ const getAddressPanels = () => {
const app = Tine.Tinebase.appMgr.get('Addressbook');
const recordClass = Tine.Tinebase.data.RecordMgr.get('Addressbook', 'Contact');
- const adrPanelFields = _.sortBy(_.filter(recordClass.getModelConfiguration().fields, (field) => {
+ const adrFields = _.sortBy(_.filter(recordClass.getModelConfiguration().fields, (field) => {
return field.type === 'record' && _.get(field, 'config.recordClassName') == 'Addressbook_Model_ContactProperties_Address'
}), (field) => {return _.get(field, 'uiconfig.order')});
- return adrPanelFields.map((field) => {
+ return adrFields.map((field) => {
const preferredCheckbox = new Ext.form.Checkbox({
hideLabel: false,
fieldLabel: app.i18n._('Preferred Address'),