From 0170d2a6ba0e3259fab4ec1cce3d7b3a0aab41e1 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Tue, 5 Oct 2021 20:48:48 +0200 Subject: [PATCH] Set nottemplate like before to not create a template for these document types --- .../src/views/documenttypes/create.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js b/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js index b82146e75be5..487fca626e3b 100644 --- a/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/documenttypes/create.controller.js @@ -94,11 +94,11 @@ function DocumentTypesCreateController($scope, $location, navigationService, con }; $scope.createComposition = function (icon) { - createDocType({ iscomposition: true, iselement: true, icon }); + createDocType({ notemplate: true, iscomposition: true, iselement: true, icon }); }; $scope.createElement = function (icon) { - createDocType({ iselement: true, icon }); + createDocType({ notemplate: true, iselement: true, icon }); }; $scope.close = function() {