mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Replace custom notifications with vue-notification package
This commit is contained in:
@ -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')
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user