1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-30 17:15:16 +01:00

fix: Clear search results after destroy

This commit is contained in:
AkiraFukushima 2018-04-17 00:36:59 +09:00
parent ee93e21463
commit d7b6ac7b7b

View File

@ -17,6 +17,9 @@ export default {
...mapState({
results: state => state.TimelineSpace.Contents.Search.Account.results
})
},
destroyed () {
this.$store.commit('TimelineSpace/Contents/Search/Account/updateResults', [])
}
}
</script>