Skip to content

EspoCRM – Open Source CRM Application

cleanup

Yuri Kuznetsovbd785b2cb18a
diff --git a/client/src/views/admin/currency.js b/client/src/views/admin/currency.js
index f03e025817..1395dc08ba 100644
--- a/client/src/views/admin/currency.js
+++ b/client/src/views/admin/currency.js
@@ -49,20 +49,6 @@ export default class extends SettingsEditRecordView {
this.setFieldOptionList('baseCurrency', currencyList);
});
- this.listenTo(this.model, 'change', (model, o) => {
- if (!o.ui) {
- return;
- }
-
- if (model.hasChanged('currencyList') || model.hasChanged('baseCurrency')) {
- const currencyRatesField = this.getFieldView('currencyRates');
-
- if (currencyRatesField) {
- currencyRatesField.reRender();
- }
- }
- });
-
this.whenReady().then(() => {
const view = /** @type {EditView} view */
this.getParentView();