Skip to content

Commit

Permalink
fix: allow to edit alt description of attached image again (#2631)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored Feb 26, 2024
1 parent 748dd5e commit 310b32c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/publish/PublishAttachment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 310b32c

Please sign in to comment.