chore: remove type annotation for computed

This commit is contained in:
kolaente 2023-04-14 17:43:03 +02:00
parent f428fd151b
commit e8f02bd254
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -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)
})