Updated content controller to hide save button (#7318)

This commit is contained in:
Aleksandr Šmailov
2020-02-14 13:37:20 +02:00
committed by GitHub
parent 165138a74b
commit 67e182bdbf

View File

@@ -287,6 +287,8 @@
$scope.page.showSaveButton = true;
// add ellipsis to the save button if it opens the variant overlay
$scope.page.saveButtonEllipsis = content.variants && content.variants.length > 1 ? "true" : "false";
} else {
$scope.page.showSaveButton = false;
}
// create the pubish combo button