algairim commented on a change in pull request #216:
URL: https://github.com/apache/brooklyn-ui/pull/216#discussion_r648520292
##########
File path:
ui-modules/blueprint-composer/app/components/catalog-saver/catalog-saver.directive.js
##########
@@ -157,6 +155,15 @@ export function CatalogItemModalController($scope,
$filter, blueprintService, pa
return `${$scope.config.name || $scope.config.symbolicName ||
'Blueprint'} ${$scope.isUpdate() ? 'updated' : 'saved'}`;
}
};
+ $scope.getCatalogURL = () => {
+ switch ($scope.state.view) {
+ case VIEWS.form:
+ return '';
Review comment:
`null` makes sense if you apply any sort of `if` condition to result of
`getCatalogURL()`, either implicit or explicit. No need to change it otherwise.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]