From b6cddb5adcdd6d996906011fd915683f0505bcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 25 May 2021 15:25:56 +0200 Subject: [PATCH] fix double page component issue in email section --- .../builder/portal/manage/_layout.svelte | 8 +- .../portal/manage/email/[template].svelte | 124 +++++++++--------- .../builder/portal/manage/email/index.svelte | 122 +++++++++-------- 3 files changed, 127 insertions(+), 127 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/_layout.svelte b/packages/builder/src/pages/builder/portal/manage/_layout.svelte index bb09efb6f2..98ae140b25 100644 --- a/packages/builder/src/pages/builder/portal/manage/_layout.svelte +++ b/packages/builder/src/pages/builder/portal/manage/_layout.svelte @@ -1,7 +1,7 @@ {#if $auth.isAdmin} - + + + {/if} diff --git a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte index 182201d2ba..d1001b2d76 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte @@ -69,71 +69,69 @@ } - - -
- $goto("./")} - quiet - size="S" - icon="BackAndroid" - > - Back to email settings - -
-
- - Email Template: {template} - - -
- Change the email template here. Add dynamic content by using the bindings - menu on the right. +
+ $goto("./")} + quiet + size="S" + icon="BackAndroid" > - - - -
- { - selectedTemplate.contents = e.detail.value - }} - value={selectedTemplate?.contents} - /> -
- Bindings - {#if mounted} - - - - - - - - - {/if} -
+ Back to email settings + +
+
+ + Email Template: {template} + + +
+ Change the email template here. Add dynamic content by using the bindings + menu on the right. + + + +
+ { + selectedTemplate.contents = e.detail.value + }} + value={selectedTemplate?.contents} + /> +
+ Bindings + {#if mounted} + + + + + + + + + {/if}
- - -
-