refs #5667 Atrs ordered by name

This commit is contained in:
Juan Ferrer 2023-05-17 16:43:48 +02:00
parent e7f9984b4b
commit e8e04423f0
2 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,8 @@ const $ = {
userName: 'vn-client-web-access vn-textfield[ng-model="$ctrl.account.name"]',
email: 'vn-client-web-access vn-textfield[ng-model="$ctrl.account.email"]',
saveButton: 'vn-client-web-access button[type=submit]',
nameValue: 'vn-client-log .change:nth-child(1) .basic-json:nth-child(1) vn-json-value',
activeValue: 'vn-client-log .change:nth-child(2) .basic-json:nth-child(2) vn-json-value'
nameValue: 'vn-client-log .change:nth-child(1) .basic-json:nth-child(2) vn-json-value',
activeValue: 'vn-client-log .change:nth-child(2) .basic-json:nth-child(1) vn-json-value'
};
describe('Client web access path', () => {

View File

@ -76,6 +76,8 @@ export default class Controller extends Section {
new: this.castJsonValue(newValues[prop])
});
}
log.props.sort(
(a, b) => a.nameI18n.localeCompare(b.nameI18n));
}
}