Skip to content

Commit 7552e31

Browse files
callumbwhyteAndyButland
authored andcommitted
Allow skipSelect blueprints only when one blueprint exists (#17818)
1 parent d1af59f commit 7552e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function contentCreateController($scope,
8686
});
8787
$scope.docType = docType;
8888
if (blueprints.length) {
89-
if (blueprintConfig.skipSelect) {
89+
if (blueprintConfig.skipSelect && blueprints.length === 1) {
9090
createFromBlueprint(blueprints[0].id);
9191
} else {
9292
$scope.selectContentType = false;

0 commit comments

Comments
 (0)