Allow skipSelect blueprints only when one blueprint exists (#17818)
This commit is contained in:
@@ -86,7 +86,7 @@ function contentCreateController($scope,
|
||||
});
|
||||
$scope.docType = docType;
|
||||
if (blueprints.length) {
|
||||
if (blueprintConfig.skipSelect) {
|
||||
if (blueprintConfig.skipSelect && blueprints.length === 1) {
|
||||
createFromBlueprint(blueprints[0].id);
|
||||
} else {
|
||||
$scope.selectContentType = false;
|
||||
|
||||
Reference in New Issue
Block a user