Merge pull request #971 from h3poteto/iss-969

fixes #969 Clear polls after close new toot modal
This commit is contained in:
AkiraFukushima 2019-07-21 01:15:40 +09:00 committed by GitHub
commit ca66748640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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