From 4f8646243524a06fbb01652b8192438c994c6fa5 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sat, 5 Nov 2022 13:55:17 +0000 Subject: [PATCH] ensure /app prefix gets stripped from website templates --- packages/builder/src/pages/builder/portal/apps/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/portal/apps/index.svelte b/packages/builder/src/pages/builder/portal/apps/index.svelte index 562434eaf1..04b7619412 100644 --- a/packages/builder/src/pages/builder/portal/apps/index.svelte +++ b/packages/builder/src/pages/builder/portal/apps/index.svelte @@ -167,7 +167,7 @@ const autoCreateApp = async () => { try { // Auto name app if has same name - let appName = template.key + let appName = template.key.replace("app/", "") const appsWithSameName = $apps.filter(app => app.name?.startsWith(appName) )