0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-06 16:40:31 +01:00

omit null

This commit is contained in:
silverwind 2025-10-28 18:28:04 +01:00
parent 62fb4caf3f
commit da52a9300f
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

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'});