aboutsummaryrefslogtreecommitdiff
path: root/src/components/modal
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/modal')
-rw-r--r--src/components/modal/modal.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue
index 52d8d27e..2187f392 100644
--- a/src/components/modal/modal.vue
+++ b/src/components/modal/modal.vue
@@ -12,6 +12,9 @@
<script>
export default {
+ provide: {
+ popoversZLayer: 'modals'
+ },
props: {
isOpen: {
type: Boolean,
@@ -22,14 +25,11 @@ export default {
default: false
}
},
- provide: {
- popoversZLayer: 'modals'
- },
computed: {
classes () {
return {
'modal-background': !this.noBackground,
- 'open': this.isOpen
+ open: this.isOpen
}
}
}