Skip to content

EspoCRM – Open Source CRM Application

Fix currency rates list view settings button

Yurii531fadaee93a
diff --git a/application/Espo/Resources/metadata/clientDefs/CurrencyRecord.json b/application/Espo/Resources/metadata/clientDefs/CurrencyRecord.json
index af64c09a82..4dbd1631da 100644
--- a/application/Espo/Resources/metadata/clientDefs/CurrencyRecord.json
+++ b/application/Espo/Resources/metadata/clientDefs/CurrencyRecord.json
@@ -36,6 +36,7 @@
"labelTranslation": "Global.scopeNames.Settings",
"link": "#Admin/currency",
"handler": "handlers/currency-record/menu-action-settings",
+ "actionFunction": "process",
"checkVisibilityFunction": "isVisible"
}
]
diff --git a/client/src/handlers/currency-record/menu-action-settings.js b/client/src/handlers/currency-record/menu-action-settings.js
index 6f05c97af6..9c3efc7676 100644
--- a/client/src/handlers/currency-record/menu-action-settings.js
+++ b/client/src/handlers/currency-record/menu-action-settings.js
@@ -30,6 +30,9 @@ import ActionHandler from 'action-handler';
export default class CurrencyRecordMenuActionSettingsHandler extends ActionHandler {
+ process() {
+ document.location.href = '#Admin/currency';
+ }
// noinspection JSUnusedGlobalSymbols
isVisible() {