- fix null returned category

This commit is contained in:
Kamil Niemczycki 2023-07-29 00:44:31 +02:00
parent 1ccc934561
commit 7fd3be06ea
Signed by: kamilniemczycki
GPG Key ID: 04D4E2012F969213

View File

@ -10,7 +10,7 @@ const props = defineProps({
},
});
const categories = ref(props.project.categories);
const categories = ref(props.project.categories ?? []);
const categoryToString = computed({
get: () => categories.value.join(', '),