Skip to content

Commit

Permalink
Comply with eslint for event name
Browse files Browse the repository at this point in the history
Breaking change.

Follow-up of #2594
  • Loading branch information
artonge authored and raimund-schluessler committed May 31, 2022
1 parent f5e01f1 commit 9bf26a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/AppSidebarTab/AppSidebarTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export default {
/**
* Bottom scroll is reached
*/
// Todo: Adjust for next major release
// eslint-disable-next-line vue/custom-event-name-casing
this.$emit('bottomReached', event)
this.$emit('bottom-reached', event)
}
this.$emit('scroll', event)
},
Expand Down
4 changes: 1 addition & 3 deletions src/components/EmojiPicker/EmojiPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,7 @@ export default {
/**
* Emits a object with more data about the picked emoji
*/
// Todo: Adjust for next major release
// eslint-disable-next-line vue/custom-event-name-casing
this.$emit('selectData', emojiObject)
this.$emit('select-data', emojiObject)
if (this.closeOnSelect) {
this.open = false
Expand Down

0 comments on commit 9bf26a7

Please sign in to comment.