TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import type { NavigationGuardWithThis } from 'vue-router'
import { useGoalsStore } from '@/stores/goals.store'
const syncSelectedProject: NavigationGuardWithThis<undefined> = (to) => {
const projectId = to.params.projectId
if (projectId) {
const goalsStore = useGoalsStore()
goalsStore.selectedItemId = +projectId
}
}
export default syncSelectedProject