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.
This commit is contained in:
parent
89b1d2a547
commit
399a4d2ca5
6 changed files with 197 additions and 46 deletions
9
utils/functions.ts
Normal file
9
utils/functions.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue