From 39bab92a621cc6c7c6ca4c6d07e902bf469f6752 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sun, 21 Jul 2019 01:11:52 +0900 Subject: [PATCH] fixes #969 Clear polls after close new toot modal --- src/renderer/components/TimelineSpace/Modals/NewToot.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index d5ff0340..9105cfb2 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -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