Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Notification.vue')
-rw-r--r--src/components/Notification.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/Notification.vue b/src/components/Notification.vue
index edc8095..9b691ba 100644
--- a/src/components/Notification.vue
+++ b/src/components/Notification.vue
@@ -19,14 +19,20 @@ export default {
required: true
},
visible: {
- type: Boolean, default: false
+ type: Boolean,
+ default: false
}
},
methods: {
onClickCloseButton: function() {
this.$emit('on-close');
}
- }
+ },
+ watch: {
+ visible (val) {
+ this.visible = val
+ }
+ }
}
</script>