mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-06 23:10:57 +01:00
omit null
This commit is contained in:
parent
62fb4caf3f
commit
da52a9300f
@ -13,7 +13,7 @@ const props = defineProps<{
|
|||||||
const loading = shallowRef<boolean>(false);
|
const loading = shallowRef<boolean>(false);
|
||||||
const issue = shallowRef<Issue>(null);
|
const issue = shallowRef<Issue>(null);
|
||||||
const renderedLabels = shallowRef<string>('');
|
const renderedLabels = shallowRef<string>('');
|
||||||
const errorMessage = shallowRef<string | null>(null);
|
const errorMessage = shallowRef<string>(null);
|
||||||
|
|
||||||
const createdAt = computed(() => {
|
const createdAt = computed(() => {
|
||||||
return new Date(issue.value.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});
|
return new Date(issue.value.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user