This commit is contained in:
Yuri Kuznetsov
2025-12-13 16:40:02 +02:00
parent 1573ec059c
commit bd785b2cb1

View File

@@ -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();