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:
parent
748dd5e19f
commit
310b32c123
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue