aboutsummaryrefslogtreecommitdiff
path: root/src/components/modal/modal.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
committerHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
commitfddb531ed20b31c44e6911418e7bbb884836c40a (patch)
tree37a8f9aea2002e893d605d64f8941ff1520059b6 /src/components/modal/modal.vue
parent0cbfcb99a9ffaf771adbe37320bba157019f65ff (diff)
--fix
Diffstat (limited to 'src/components/modal/modal.vue')
-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
}
}
}