From 1e35d507c647c6ead291562f434c0522a3150433 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 19 Oct 2021 14:26:44 +0100 Subject: [PATCH] Adding back old import button incase its removal confuses anyone. --- packages/builder/src/components/start/TemplateList.svelte | 2 +- .../builder/src/pages/builder/portal/apps/index.svelte | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/start/TemplateList.svelte b/packages/builder/src/components/start/TemplateList.svelte index 2639f86404..03ab5773c5 100644 --- a/packages/builder/src/components/start/TemplateList.svelte +++ b/packages/builder/src/components/start/TemplateList.svelte @@ -57,7 +57,7 @@ > - Import app + Import an app

BLANK

diff --git a/packages/builder/src/pages/builder/portal/apps/index.svelte b/packages/builder/src/pages/builder/portal/apps/index.svelte index 319ef91d2e..01eaa8281e 100644 --- a/packages/builder/src/pages/builder/portal/apps/index.svelte +++ b/packages/builder/src/pages/builder/portal/apps/index.svelte @@ -84,6 +84,12 @@ } } + const initiateAppImport = () => { + template = { fromFile: true } + creationModal.show() + creatingApp = true + } + const stopAppCreation = () => { template = null creatingApp = false @@ -201,6 +207,7 @@ {#if cloud} {/if} +