clear selection when Sources is mounted
This commit is contained in:
parent
021eca3fd6
commit
adfc3c0a1a
@ -17,6 +17,9 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ['sources'],
|
props: ['sources'],
|
||||||
|
mounted() {
|
||||||
|
this.$store.commit('selection/clearSelection')
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
export default {
|
export default {
|
||||||
async mounted() {
|
async mounted() {
|
||||||
await this.$engine.start()
|
await this.$engine.start()
|
||||||
this.$store.commit('selection/clearSelection')
|
|
||||||
},
|
},
|
||||||
async beforeDestroy() {
|
async beforeDestroy() {
|
||||||
await this.$engine.stop()
|
await this.$engine.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user