Fix types
This commit is contained in:
parent
405c018405
commit
aa07af596b
|
@ -122,7 +122,7 @@ export const initialise = (context: StoreContext) => {
|
|||
}
|
||||
$fetch?.update({
|
||||
sortOrder: $sort.order || SortOrder.ASCENDING,
|
||||
sortColumn: $sort.column,
|
||||
sortColumn: $sort.column ?? undefined,
|
||||
})
|
||||
})
|
||||
)
|
||||
|
|
|
@ -139,7 +139,7 @@ export const initialise = (context: StoreContext) => {
|
|||
}
|
||||
$fetch.update({
|
||||
sortOrder: $sort.order || SortOrder.ASCENDING,
|
||||
sortColumn: $sort.column,
|
||||
sortColumn: $sort.column ?? undefined,
|
||||
})
|
||||
})
|
||||
)
|
||||
|
|
|
@ -187,7 +187,7 @@ export const initialise = (context: StoreContext) => {
|
|||
}
|
||||
$fetch.update({
|
||||
sortOrder: $sort.order,
|
||||
sortColumn: $sort.column,
|
||||
sortColumn: $sort.column ?? undefined,
|
||||
})
|
||||
})
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue