From bc6946e6be5dd76b738fcba911cec4036bb4e56c Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 9 Aug 2024 13:18:46 +0300 Subject: [PATCH] cleanup --- .../metadata/entityDefs/LeadCapture.json | 3 +- .../src/views/lead-capture/fields/api-key.js | 33 ------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 client/src/views/lead-capture/fields/api-key.js diff --git a/application/Espo/Resources/metadata/entityDefs/LeadCapture.json b/application/Espo/Resources/metadata/entityDefs/LeadCapture.json index a714babcb3..e0673707e8 100644 --- a/application/Espo/Resources/metadata/entityDefs/LeadCapture.json +++ b/application/Espo/Resources/metadata/entityDefs/LeadCapture.json @@ -75,8 +75,7 @@ "apiKey": { "type": "varchar", "maxLength": 36, - "readOnly": true, - "view": "views/lead-capture/fields/api-key" + "readOnly": true }, "targetTeam": { "type": "link" diff --git a/client/src/views/lead-capture/fields/api-key.js b/client/src/views/lead-capture/fields/api-key.js deleted file mode 100644 index daa8a42432..0000000000 --- a/client/src/views/lead-capture/fields/api-key.js +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************************************ - * This file is part of EspoCRM. - * - * EspoCRM – Open Source CRM application. - * Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko - * Website: https://www.espocrm.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * The interactive user interfaces in modified source and object code versions - * of this program must display Appropriate Legal Notices, as required under - * Section 5 of the GNU Affero General Public License version 3. - * - * In accordance with Section 7(b) of the GNU Affero General Public License version 3, - * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. - ************************************************************************/ - -define('views/lead-capture/fields/api-key', ['views/fields/varchar'], function (Dep) { - - return Dep.extend({ - }); -});