Skip to content

Commit

Permalink
sort xenstoreData
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRA committed Dec 19, 2024
1 parent 8043b34 commit 9cd4fdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/xo-web/src/xo-app/vm/tab-advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,10 @@ export default class TabAdvanced extends Component {

_getXenStoreData = createSelector(
() => this.props.vm,
vm => Object.entries(vm.xenStoreData).filter(([key]) => key.startsWith(XENSTORE_PREFIX))
vm =>
Object.entries(vm.xenStoreData)
.filter(([key]) => key.startsWith(XENSTORE_PREFIX))
.sort()
)

render() {
Expand Down

0 comments on commit 9cd4fdb

Please sign in to comment.