fix: remove unnecessary fallback
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
cb122a02eb
commit
13734848cf
|
@ -36,8 +36,8 @@ export const useProjectStore = defineStore('project', () => {
|
|||
.filter(p => !p.isArchived && p.isFavorite))
|
||||
const hasProjects = computed(() => projects.value ? true : false)
|
||||
|
||||
const getChildProjects = computed(() => {
|
||||
return (id: IProject['id']) => projectsArray.value.filter(p => p.parentProjectId === id) || []
|
||||
const getChildProjects = computed<IProject[]>(() => {
|
||||
return (id: IProject['id']) => projectsArray.value.filter(p => p.parentProjectId === id)
|
||||
})
|
||||
|
||||
const findProjectByExactname = computed(() => {
|
||||
|
|
Reference in New Issue
Block a user