Skip to content

Commit 187013a

Browse files
committed
fixes
1 parent da52a93 commit 187013a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web_src/js/components/ContextPopup.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const props = defineProps<{
1010
loadIssueInfoUrl: string,
1111
}>();
1212
13-
const loading = shallowRef<boolean>(false);
13+
const loading = shallowRef(false);
1414
const issue = shallowRef<Issue>(null);
15-
const renderedLabels = shallowRef<string>('');
16-
const errorMessage = shallowRef<string>(null);
15+
const renderedLabels = shallowRef('');
16+
const errorMessage = shallowRef('');
1717
1818
const createdAt = computed(() => {
1919
return new Date(issue.value.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});
@@ -26,7 +26,7 @@ const body = computed(() => {
2626
2727
onMounted(async () => {
2828
loading.value = true;
29-
errorMessage.value = null;
29+
errorMessage.value = '';
3030
try {
3131
const resp = await GET(props.loadIssueInfoUrl);
3232
if (!resp.ok) {

0 commit comments

Comments
 (0)