fix: allow to edit alt description of attached image again (#2631)

zio/stable
TAKAHASHI Shuuji 2024-02-26 22:11:21 +09:00 committed by GitHub
parent 748dd5e19f
commit 310b32c123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ const emit = defineEmits<{
const maxDescriptionLength = 1500
const isEditDialogOpen = ref(false)
const description = computed(() => props.attachment.description ?? '')
const description = ref(props.attachment.description ?? '')
function toggleApply() {
isEditDialogOpen.value = false
emit('setDescription', description.value)