Add TODO about the app state sorting
This commit is contained in:
@@ -62,9 +62,9 @@ const listColumns = {
|
||||
label: 'Status',
|
||||
hideMobile: true,
|
||||
sort: (a, b) => {
|
||||
console.log(a, b)
|
||||
// TODO we need pankow fix to pass full object a,b instead of just the property
|
||||
if (!a || !b) return -1;
|
||||
return a.installationState < b.installationState ? -1 : (a.installationState > b.installationState ? 1 : 0)
|
||||
return a.installationState < b.installationState ? -1 : (a.installationState > b.installationState ? 1 : 0);
|
||||
},
|
||||
},
|
||||
appTitle: {
|
||||
|
||||
Reference in New Issue
Block a user