From 7fbf421dd408d637b7c09ee13a3079f85bbbf218 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Thu, 12 Apr 2018 00:32:59 +0900 Subject: [PATCH] fix: Block toot when new toot modal is closed --- src/renderer/components/TimelineSpace/Modals/NewToot.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index bdfac990f0..6659709eab 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -108,6 +108,9 @@ export default { this.$store.dispatch('TimelineSpace/Modals/NewToot/changeModal', false) }, toot () { + if (!this.newTootModal) { + return + } if (this.status.length <= 0 || this.status.length >= 500) { return this.$message({ message: 'Toot length should be 1 to 500',