mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 23:11:15 +00:00
Update notification.vue
remove duplicate methods props
This commit is contained in:
parent
76860fe3f8
commit
9fd26a88ea
1 changed files with 0 additions and 9 deletions
|
|
@ -146,15 +146,6 @@ export default {
|
|||
beforeDestroy () {
|
||||
clearTimeout(this.timer);
|
||||
},
|
||||
methods: {
|
||||
handleOnClick () {
|
||||
if (typeof this.notification.onClick === 'function') {
|
||||
this.notification.onClick();
|
||||
}
|
||||
|
||||
this.show = false;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
show () {
|
||||
this.$store.dispatch('snackbars:remove', this.notification);
|
||||
|
|
|
|||
Loading…
Reference in a new issue