mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 03:57:01 +00:00
cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user