From: Dessalines Date: Sun, 29 Dec 2019 02:10:07 +0000 (-0500) Subject: Post editing fix. X-Git-Url: http://these/git/%7B%27/docs/%7BinboxRss%7D?a=commitdiff_plain;h=1f3a16b159a8e83ac4d68e51c59a196fba427f24;p=lemmy.git Post editing fix. --- diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index d3cf275a..7e60b2b0 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -80,7 +80,7 @@ export class PostForm extends Component { this.state.postForm = { body: this.props.post.body, // NOTE: debouncing breaks both these for some reason, unless you use defaultValue - name: undefined, + name: this.props.post.name, community_id: this.props.post.community_id, edit_id: this.props.post.id, creator_id: this.props.post.creator_id,