Update notification.vue

remove duplicate methods props
This commit is contained in:
negue 2018-07-29 21:55:24 +02:00 committed by GitHub
parent 76860fe3f8
commit 9fd26a88ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);