Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Brückner <johannes@dotplex.com>
  • Loading branch information
brueckner committed Nov 23, 2020
1 parent c1cabeb commit eeb5adc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/EnvelopeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@ export default {
return this.envelopes.filter((env) => this.selection.includes(env.databaseId))
},
},
mounted() {
dragEventBus.$on('envelopesDropped', this.unselectAll)
},
beforeDestroy() {
dragEventBus.$off('envelopesDropped', this.unselectAll)
},
watch: {
envelopes(newVal, oldVal) {
// Unselect vanished envelopes
Expand All @@ -210,6 +204,12 @@ export default {
})
},
},
mounted() {
dragEventBus.$on('envelopesDropped', this.unselectAll)
},
beforeDestroy() {
dragEventBus.$off('envelopesDropped', this.unselectAll)
},
methods: {
isEnvelopeSelected(idx) {
if (this.selection.length === 0) {
Expand Down

0 comments on commit eeb5adc

Please sign in to comment.