omit null

This commit is contained in:
silverwind
2025-10-28 18:28:04 +01:00
parent 62fb4caf3f
commit da52a9300f
+1 -1
View File
@@ -13,7 +13,7 @@ const props = defineProps<{
const loading = shallowRef<boolean>(false);
const issue = shallowRef<Issue>(null);
const renderedLabels = shallowRef<string>('');
const errorMessage = shallowRef<string | null>(null);
const errorMessage = shallowRef<string>(null);
const createdAt = computed(() => {
return new Date(issue.value.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});