fix: allow to edit alt description of attached image again (#2631)
parent
748dd5e19f
commit
310b32c123
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue