From 4c47ee9853f35c61ae0b4fcdefa4b7067d79bad1 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 27 Sep 2021 11:30:46 +0100 Subject: [PATCH] Fix check to create default layouts and screens --- packages/server/src/api/controllers/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/application.js b/packages/server/src/api/controllers/application.js index c3142e9733..76675116c2 100644 --- a/packages/server/src/api/controllers/application.js +++ b/packages/server/src/api/controllers/application.js @@ -232,7 +232,7 @@ exports.create = async function (ctx) { // Only create the default home screens and layout if we aren't importing // an app - if (!useTemplate) { + if (useTemplate !== "true") { await createEmptyAppPackage(ctx, newApplication) }