owltide/utils/functions.ts
Hornwitser 399a4d2ca5
Some checks failed
/ build (push) Has been cancelled
/ deploy (push) Has been cancelled
Add account based filtering of the schedule
Implement personal filtering of the schedule based on events marked as
being interested in and filtering based on assigned crew for events.
2025-03-15 22:47:32 +01:00

9 lines
253 B
TypeScript

import type { LocationQueryValue } from 'vue-router';
export function queryToString(item?: null | LocationQueryValue | LocationQueryValue[]) {
if (item === null)
return "";
if (item instanceof Array)
return queryToString(item[0])
return item;
}