- fix null returned category

This commit is contained in:
2023-07-29 00:44:31 +02:00
parent 1ccc934561
commit 7fd3be06ea

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(', '),