1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-09 18:39:58 +00:00

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

This commit is contained in:
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

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)