- fix null returned category
This commit is contained in:
parent
1ccc934561
commit
7fd3be06ea
@ -10,7 +10,7 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const categories = ref(props.project.categories);
|
const categories = ref(props.project.categories ?? []);
|
||||||
|
|
||||||
const categoryToString = computed({
|
const categoryToString = computed({
|
||||||
get: () => categories.value.join(', '),
|
get: () => categories.value.join(', '),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user