refactor: borrados saltos de linea
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2022-11-28 14:48:37 +01:00
parent c3d06ca5db
commit a0f5cf1449
1 changed files with 1 additions and 2 deletions

View File

@ -34,10 +34,9 @@ export default class Controller extends Section {
set logs(value) {
this._logs = value;
if (!value) return;
console.log(value);
const validations = window.validations;
value.forEach(log => {
console.log(log.changedModel);
const locale = validations[log.changedModel] && validations[log.changedModel].locale ? validations[log.changedModel].locale : {};
log.oldProperties = this.getInstance(log.oldInstance, locale);