Merge pull request 'TEST_fix_log' (!1182) from TEST_fix_log into test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1182 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
a218c086ce
|
@ -37,7 +37,7 @@ export default class Controller extends Section {
|
|||
|
||||
const validations = window.validations;
|
||||
value.forEach(log => {
|
||||
const locale = validations[log.changedModel].locale ? validations[log.changedModel].locale : {};
|
||||
const locale = validations[log.changedModel] && validations[log.changedModel].locale ? validations[log.changedModel].locale : {};
|
||||
|
||||
log.oldProperties = this.getInstance(log.oldInstance, locale);
|
||||
log.newProperties = this.getInstance(log.newInstance, locale);
|
||||
|
|
Loading…
Reference in New Issue