fix: add default for level

This commit is contained in:
kolaente 2023-04-12 10:51:39 +02:00
parent 3eca9f6180
commit 9402344b7e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 2 deletions

View File

@ -67,12 +67,14 @@ import {getProjectTitle} from '@/helpers/getProjectTitle'
import ColorBubble from '@/components/misc/colorBubble.vue'
import ProjectsNavigation from '@/components/home/ProjectsNavigation.vue'
const props = defineProps<{
const props = withDefaults(defineProps<{
project: IProject,
isLoading?: boolean,
canCollapse?: boolean,
level?: number,
}>()
}>(), {
level: 0,
})
const projectStore = useProjectStore()
const baseStore = useBaseStore()