From 7509e6dd0fa6692aa6b2f26850fd3cd2df963429 Mon Sep 17 00:00:00 2001 From: Laurens Verspeek Date: Thu, 22 Jun 2023 18:09:07 +0200 Subject: [PATCH] set small delay on postResults to make sure template is loaded --- pages/campaigns/_id/_batch/index.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/campaigns/_id/_batch/index.vue b/pages/campaigns/_id/_batch/index.vue index e396b8a9..7fcc1e7f 100644 --- a/pages/campaigns/_id/_batch/index.vue +++ b/pages/campaigns/_id/_batch/index.vue @@ -79,8 +79,8 @@ :html="renderTemplate( campaign.info.template || 'No template found..', campaign.info.example_task || {})" + :is-live-task="true" @submit="submitTask" - :isLiveTask="true" /> @@ -255,8 +255,8 @@ :html="renderTemplate( campaign.info.template || 'No template found..', viewTaskResult.placeholders)" + :is-live-task="true" @templateLoaded="postResults(viewTaskResult.results)" - :isLiveTask="true" />