From 203b795401ac299a26840e85cbfdd0002462241c Mon Sep 17 00:00:00 2001 From: SASh Date: Tue, 11 May 2021 14:01:36 +0300 Subject: [PATCH] fix: https://github.com/armincms/chain/issues/1 --- resources/js/components/FormField.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/js/components/FormField.vue b/resources/js/components/FormField.vue index 66dd560..f5c7bda 100644 --- a/resources/js/components/FormField.vue +++ b/resources/js/components/FormField.vue @@ -46,9 +46,8 @@ export default { if(this.field.events.length > 0) { Nova.$on(this.updateEvents, this.chainUpdated) Nova.$on(this.beforeDestroyEvents, this.chainBeforeDestroy) - } else { - this.getFields(this.form) - } + } + this.getFields(this.form) }, beforeDestroy() {