fixes #969 Clear polls after close new toot modal
This commit is contained in:
parent
034e54ee6b
commit
39bab92a62
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue