davidjumani commented on a change in pull request #5994:
URL: https://github.com/apache/cloudstack/pull/5994#discussion_r806485483
##########
File path: ui/src/components/view/SearchView.vue
##########
@@ -347,6 +348,14 @@ export default {
this.fillFormFieldValues()
})
},
+ sortArray (data) {
Review comment:
Could you pass the sort key to the method? That way the domains can be
sorted by path and the rest by name ?
##########
File path: ui/src/components/view/SearchView.vue
##########
@@ -347,6 +348,14 @@ export default {
this.fillFormFieldValues()
})
},
+ sortArray (key, data) {
Review comment:
```suggestion
sortArray (data, key='name') {
```
Minor nit, just to make life easier for newer devs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]