fix: Close request when modal is closed

This commit is contained in:
AkiraFukushima 2019-08-29 22:54:44 +09:00
parent 1ed9c2167d
commit dafc76a95f
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
}
},