temp adding stubbed blueprints

This commit is contained in:
Lars-Erik Aabech
2017-06-04 17:18:43 +02:00
parent 5fe22a2231
commit c06ac51b48

View File

@@ -12,7 +12,12 @@ function contentCreateController($scope, $routeParams, contentTypeResource, icon
$scope.allowedTypes = iconHelper.formatContentTypeIcons(data);
});
$scope.goToAction = function(docType) {
$scope.goToAction = function (docType) {
docType.blueprints = [
{id:1, name:"A blue print"},
{id:2, name:"A red print"}
];
if (docType.blueprints && docType.blueprints.length) {
// Show dialog
} else {