From 5ea8aab88e5d26e8f32535821b2cf2d5c6f06b6f Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 09:30:42 +0000 Subject: [PATCH] Add transition to automation survey --- .../app/[application]/automation/_layout.svelte | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte index 345bc9e9e4..c5c28d1e1e 100644 --- a/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte @@ -13,6 +13,7 @@ selectedAutomation, } from "stores/builder" import { createLocalStorageStore } from "@budibase/frontend-core" + import { fly } from "svelte/transition" $: automationId = $selectedAutomation?.data?._id $: builderStore.selectResource(automationId) @@ -30,9 +31,11 @@ let modal let webhookModal + let mounted = false onMount(() => { $automationStore.showTestPanel = false + mounted = true }) onDestroy(stopSyncing) @@ -80,8 +83,12 @@ -{#if !$surveyDismissed} -
+{#if !$surveyDismissed && mounted} +
We value your feedback!