diff --git a/platypush/backend/http/webapp/src/components/Modal.vue b/platypush/backend/http/webapp/src/components/Modal.vue index 931f80f400..a3df10fddf 100644 --- a/platypush/backend/http/webapp/src/components/Modal.vue +++ b/platypush/backend/http/webapp/src/components/Modal.vue @@ -143,7 +143,7 @@ export default { }, onEscape() { - if (!this.isVisible || this.ignoreEscape) + if (!this.isVisible || this.ignoreEscape || !this.$refs.container) return const myZIndex = parseInt(getComputedStyle(this.$refs.container).zIndex)