From 942d6eab5fdf1396da94e248fe12660a932986ec Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 10 May 2022 11:36:42 +0100 Subject: [PATCH] Unset home screen flag when duplicating screen --- .../[screenId]/screens/_components/ScreenDropdownMenu.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte index e9179ee828..90b2649deb 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenDropdownMenu.svelte @@ -35,6 +35,7 @@ // Attach the new name and URL duplicateScreen.routing.route = sanitizeUrl(screenUrl) + duplicateScreen.routing.homeScreen = false duplicateScreen.props._instanceName = screenName try {