diff --git a/web_src/js/components/ContextPopup.vue b/web_src/js/components/ContextPopup.vue index cf157461e8..31db902adc 100644 --- a/web_src/js/components/ContextPopup.vue +++ b/web_src/js/components/ContextPopup.vue @@ -10,10 +10,10 @@ const props = defineProps<{ loadIssueInfoUrl: string, }>(); -const loading = shallowRef(false); +const loading = shallowRef(false); const issue = shallowRef(null); -const renderedLabels = shallowRef(''); -const errorMessage = shallowRef(null); +const renderedLabels = shallowRef(''); +const errorMessage = shallowRef(''); const createdAt = computed(() => { return new Date(issue.value.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'}); @@ -26,7 +26,7 @@ const body = computed(() => { onMounted(async () => { loading.value = true; - errorMessage.value = null; + errorMessage.value = ''; try { const resp = await GET(props.loadIssueInfoUrl); if (!resp.ok) {