Content Blueprint save button style change

This commit is contained in:
Poornima Nayar
2019-10-17 16:33:57 +01:00
committed by Sebastiaan Janssen
parent 63060a88c6
commit 1371120e7c

View File

@@ -271,8 +271,7 @@
function createButtons(content) {
// for trashed and element type items, the save button is the primary action - otherwise it's a secondary action
$scope.page.saveButtonStyle = content.trashed || content.isElement ? "primary" : "info";
$scope.page.saveButtonStyle = content.trashed || content.isElement || content.isBlueprint ? "primary" : "info";
// only create the save/publish/preview buttons if the
// content app is "Conent"
if ($scope.app && $scope.app.alias !== "umbContent" && $scope.app.alias !== "umbInfo" && $scope.app.alias !== "umbListView") {