From 9cd4fdb8fc06099f92b3aa5e6d598c88143da38b Mon Sep 17 00:00:00 2001 From: mathieuRA Date: Thu, 19 Dec 2024 14:47:20 +0100 Subject: [PATCH] sort xenstoreData --- packages/xo-web/src/xo-app/vm/tab-advanced.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/xo-web/src/xo-app/vm/tab-advanced.js b/packages/xo-web/src/xo-app/vm/tab-advanced.js index 102eb398fad..1eb6a0cb887 100644 --- a/packages/xo-web/src/xo-app/vm/tab-advanced.js +++ b/packages/xo-web/src/xo-app/vm/tab-advanced.js @@ -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() {