Fix sorting by backup target
This commit is contained in:
@@ -46,7 +46,9 @@ const columns = {
|
|||||||
},
|
},
|
||||||
target: {
|
target: {
|
||||||
label: 'Storage',
|
label: 'Storage',
|
||||||
sort: true
|
sort(a, b) {
|
||||||
|
return b.name <= a.name ? 1 : -1;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
actions: {}
|
actions: {}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user