fixes #969 Clear polls after close new toot modal

This commit is contained in:
AkiraFukushima 2019-07-21 01:11:52 +09:00
parent 034e54ee6b
commit 39bab92a62
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ export default {
methods: { methods: {
close() { close() {
this.filteredAccount = [] this.filteredAccount = []
this.polls = ['', ''] this.openPoll = false
this.polls = []
this.pollExpire = { this.pollExpire = {
label: this.$t('modals.new_toot.poll.expires.1_day'), label: this.$t('modals.new_toot.poll.expires.1_day'),
value: 3600 * 24 value: 3600 * 24