Replace custom notifications with vue-notification package

This commit is contained in:
Bubka
2020-09-25 23:36:11 +02:00
parent eafff6c17e
commit 06c8dd0a10
15 changed files with 59 additions and 131 deletions

View File

@ -24,9 +24,11 @@
<script>
export default {
name: 'Modal',
props: {
value: Boolean,
},
computed: {
isActive: {
get () {
@ -37,10 +39,12 @@ export default {
}
}
},
methods: {
closeModal: function(event) {
if (event) {
this.isActive = false
this.$notify({ clean: true })
this.$parent.$emit('modalClose')
}
}