feature/projects-all-the-way-down #3323
|
@ -68,7 +68,6 @@ const projectStore = useProjectStore()
|
|||
|
||||
dpschen marked this conversation as resolved
Outdated
|
||||
// Vue draggable will modify the projects list as it changes their position which will not work on a prop.
|
||||
dpschen
commented
Also don't render if there are no child projects. Also don't render if there are no child projects.
konrad
commented
But then it won't be possible to drag a project "under" a parent to make it a child of that parent. But then it won't be possible to drag a project "under" a parent to make it a child of that parent.
|
||||
// Hence, we'll clone the prop and work on the clone.
|
||||
// FIXME: cloning does not work when loading the page initially
|
||||
const collapsedProjects = ref<{ [id: IProject['id']]: boolean }>({})
|
||||
const availableProjects = ref<IProject[]>([])
|
||||
const childProjects = ref<{ [id: IProject['id']]: boolean }>({})
|
||||
|
|
Reference in New Issue
Block a user
Nice!