Skip to content

Commit

Permalink
Update post-form.vue
Browse files Browse the repository at this point in the history
Close #4792

Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
  • Loading branch information
syuilo and tamaina committed Apr 24, 2019
1 parent 7b29e7c commit e8c8f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/app/desktop/views/components/post-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default Vue.extend({
const draft = JSON.parse(localStorage.getItem('drafts') || '{}')[this.draftId];
if (draft) {
this.text = draft.data.text;
this.files = draft.data.files;
this.files = (draft.data.files || []).filter(e => e);
if (draft.data.poll) {
this.poll = true;
this.$nextTick(() => {
Expand Down

0 comments on commit e8c8f67

Please sign in to comment.