From e20c90d0745915a4855ccaa011c60e6a27c0d0d0 Mon Sep 17 00:00:00 2001 From: Chirag <103994754+chiragnotionforms@users.noreply.github.com> Date: Wed, 21 Sep 2022 21:06:01 +0530 Subject: [PATCH] Sometimes form submission table not load (#2) --- .gitignore | 1 + .../open/forms/components/FormSubmissions.vue | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index f6ccd1f..fda17f5 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ public/.DS_Store .vapor/ .env.production .env.staging +_ide_helper.php diff --git a/resources/js/components/open/forms/components/FormSubmissions.vue b/resources/js/components/open/forms/components/FormSubmissions.vue index 77a2f13..7837100 100644 --- a/resources/js/components/open/forms/components/FormSubmissions.vue +++ b/resources/js/components/open/forms/components/FormSubmissions.vue @@ -51,6 +51,16 @@ export default { this.initFormStructure() this.getSubmissionsData() }, + watch: { + form () { + debugger + if(!this.form){ + return + } + this.initFormStructure() + this.getSubmissionsData() + } + }, computed: { form: { get() {