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: {
close() {
this.filteredAccount = []
this.polls = ['', '']
this.openPoll = false
this.polls = []
this.pollExpire = {
label: this.$t('modals.new_toot.poll.expires.1_day'),
value: 3600 * 24