From: Dessalines Date: Sun, 15 Dec 2019 19:29:50 +0000 (-0800) Subject: Fixing suggested title filling. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%7B%7D/%22%7Burl%7D/%7BlocalRss%7D?a=commitdiff_plain;h=ea3adad87812f535c57b8212f4de65a3e708bb15;p=lemmy.git Fixing suggested title filling. --- diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index 9bfa7063..cd5a8112 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: this.props.post.name, + name: undefined, community_id: this.props.post.community_id, edit_id: this.props.post.id, creator_id: this.props.post.creator_id, @@ -209,7 +209,11 @@ export class PostForm extends Component {