chore: remove type annotation for computed
This commit is contained in:
@ -40,7 +40,7 @@ export const useProjectStore = defineStore('project', () => {
|
||||
.filter(p => !p.isArchived && p.isFavorite))
|
||||
const hasProjects = computed(() => projectsArray.value.length > 0)
|
||||
|
||||
const getChildProjects = computed<IProject[]>(() => {
|
||||
const getChildProjects = computed(() => {
|
||||
return (id: IProject['id']) => projectsArray.value.filter(p => p.parentProjectId === id)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user