clear selection when Sources is mounted

This commit is contained in:
Settel 2021-08-30 08:10:50 +02:00
parent 021eca3fd6
commit adfc3c0a1a
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,9 @@
<script>
export default {
props: ['sources'],
mounted() {
this.$store.commit('selection/clearSelection')
},
}
</script>

View File

@ -18,7 +18,6 @@
export default {
async mounted() {
await this.$engine.start()
this.$store.commit('selection/clearSelection')
},
async beforeDestroy() {
await this.$engine.stop()