From 2aae5a444d970c496cfca8b66a499b603b290110 Mon Sep 17 00:00:00 2001 From: ctf0 Date: Mon, 9 Mar 2020 11:28:44 +0200 Subject: [PATCH] Update external-modal.vue --- src/resources/assets/js/components/utils/external-modal.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resources/assets/js/components/utils/external-modal.vue b/src/resources/assets/js/components/utils/external-modal.vue index b1cc450..a5caaf2 100644 --- a/src/resources/assets/js/components/utils/external-modal.vue +++ b/src/resources/assets/js/components/utils/external-modal.vue @@ -33,9 +33,10 @@ export default { } } }, - mounted() { + created() { EventHub.fire('external_modal_resrtict', this.restrict) - + }, + mounted() { if (this.old) { this.updateParent(this.old) }