From 420cc23edeefd0d6c4dab60ece85b1501d355970 Mon Sep 17 00:00:00 2001 From: patak Date: Thu, 15 Dec 2022 00:40:39 +0100 Subject: [PATCH] fix: type error --- components/publish/PublishAttachment.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/publish/PublishAttachment.vue b/components/publish/PublishAttachment.vue index 6957da81..c4e41ea7 100644 --- a/components/publish/PublishAttachment.vue +++ b/components/publish/PublishAttachment.vue @@ -15,7 +15,7 @@ defineEmits<{ }>() const isEditDialogOpen = ref(false) -const description = ref(props.attachment.description) +const description = ref(props.attachment.description ?? '')