Skip to content

Commit

Permalink
Merge pull request #788 from graue/graue/edit-image-desc
Browse files Browse the repository at this point in the history
Fix editing image descriptions
  • Loading branch information
cheeaun authored Sep 15, 2024
2 parents c5f676b + 788ea1a commit c20e670
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 62 deletions.
5 changes: 4 additions & 1 deletion src/components/compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,10 @@ function Compose({
onDescriptionChange={(value) => {
setMediaAttachments((attachments) => {
const newAttachments = [...attachments];
newAttachments[i].description = value;
newAttachments[i] = {
...newAttachments[i],
description: value,
};
return newAttachments;
});
}}
Expand Down
122 changes: 61 additions & 61 deletions src/locales/en.po

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c20e670

Please sign in to comment.