fix: add default for level
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
kolaente 2023-04-12 10:51:39 +02:00
parent d5417c2d18
commit c87b5b3e03
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

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