Merge pull request #1019 from h3poteto/fix/cancel

fix: Close request when modal is closed
This commit is contained in:
AkiraFukushima 2019-08-29 22:57:55 +09:00 committed by GitHub
commit b9f00c6ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -184,8 +184,8 @@ export default {
}
},
closeSuggest() {
this.$store.dispatch('TimelineSpace/Modals/NewToot/Status/closeSuggest')
if (this.openSuggest) {
this.$store.dispatch('TimelineSpace/Modals/NewToot/Status/closeSuggest')
this.highlightedIndex = 0
}
},