diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-24 20:47:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-24 20:47:47 +0900 |
| commit | e8c8f67a0921f3a411767b397db69ea5c1380507 (patch) | |
| tree | 97404f0b2af0e3a04aea0f0d16aa7d8414fd907c /src | |
| parent | Fix bug (diff) | |
| download | misskey-e8c8f67a0921f3a411767b397db69ea5c1380507.tar.gz misskey-e8c8f67a0921f3a411767b397db69ea5c1380507.tar.bz2 misskey-e8c8f67a0921f3a411767b397db69ea5c1380507.zip | |
Update post-form.vue
Close #4792
Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/post-form.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index 7d3593d9c9..1f33ea01fe 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -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(() => { |