Fix types

This commit is contained in:
Adria Navarro 2024-12-31 12:24:26 +01:00
parent 405c018405
commit aa07af596b
3 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ export const initialise = (context: StoreContext) => {
}
$fetch?.update({
sortOrder: $sort.order || SortOrder.ASCENDING,
sortColumn: $sort.column,
sortColumn: $sort.column ?? undefined,
})
})
)

View File

@ -139,7 +139,7 @@ export const initialise = (context: StoreContext) => {
}
$fetch.update({
sortOrder: $sort.order || SortOrder.ASCENDING,
sortColumn: $sort.column,
sortColumn: $sort.column ?? undefined,
})
})
)

View File

@ -187,7 +187,7 @@ export const initialise = (context: StoreContext) => {
}
$fetch.update({
sortOrder: $sort.order,
sortColumn: $sort.column,
sortColumn: $sort.column ?? undefined,
})
})
)