Skip to content

Commit 9d60bc7

Browse files
committed
fix(ui): sorting error
1 parent 37bb581 commit 9d60bc7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/nodes-table/SmartView.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,12 @@ export default {
388388
computed: {
389389
...mapState(useBaseStore, ['nodes']),
390390
sortingRules() {
391-
return {
392-
key: this.sortBy.toLowerCase(),
393-
order: this.sortDesc ? 'desc' : 'asc',
394-
}
391+
return [
392+
{
393+
key: this.sortBy.toLowerCase(),
394+
order: this.sortDesc ? 'desc' : 'asc',
395+
},
396+
]
395397
},
396398
},
397399
data() {

0 commit comments

Comments
 (0)