TODO: replace parseDynamicSortBy

This commit is contained in:
spacelord committed 2025-03-09 23:07:02 +01:00
1 parent 18d3646315
commit 42f6e0b22d
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@
* @returns {object}
*/
export function parseDynamicSortBy(SortField: string, Order: string) {
// TODO: { [value.sort.toString()]: value.order.toString() }
return JSON.parse(`{ "${SortField}": "${Order}" }`);
}