Something went wrong. Try again.
A simple to-do app focused on tasks that can be completed within a specific time span. taskline.tobinio.dev
Something went wrong. Try again.
328 B · 15 lines
TypeScript
at main
12345678910111213141516export function useSelectedOrg() { const route = useRoute(); const localeRoute = useLocaleRoute();
return computed({ get: () => { return route.query.org as UUID | undefined; }, set: async (value) => { await navigateTo( localeRoute({ name: "index", query: { ...route.query, org: value } }), ); }, });}