Skip to content

Commit

Permalink
Change the event name
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jan 30, 2025
1 parent ac54bea commit 3f61fe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions panel/src/components/Sections/ModelsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ export default {
},
created() {
this.$events.on("model.update", this.reload);
this.$events.on("selecting", this.stopSelectingCollision);
this.$events.on("section.selecting", this.stopSelectingCollision);
},
destroyed() {
this.$events.off("model.update", this.reload);
this.$events.off("selecting", this.stopSelectingCollision);
this.$events.off("section.selecting", this.stopSelectingCollision);
},
mounted() {
this.search = debounce(this.search, 200);
Expand Down Expand Up @@ -330,7 +330,7 @@ export default {
startSelecting() {
this.isSelecting = true;
this.selected = [];
this.$events.emit("selecting", this.name);
this.$events.emit("section.selecting", this.name);
},
stopSelecting() {
this.isSelecting = false;
Expand Down

0 comments on commit 3f61fe4

Please sign in to comment.