Skip to content

Commit

Permalink
Fix active profile detail link
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Jun 7, 2013
1 parent 4a84e8a commit 8dbd9f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/fabricView.ts
Expand Up @@ -703,7 +703,11 @@ module Fabric {


$scope.showProfile = (profile) => {
$location.path('/fabric/profile/' + $scope.activeVersionId + '/' + profile.id);
if (angular.isDefined(profile.versionId)) {
$location.path('/fabric/profile/' + profile.versionId + '/' + profile.id);
} else {
$location.path('/fabric/profile/' + $scope.activeVersionId + '/' + profile.id);
}
};


Expand Down

0 comments on commit 8dbd9f7

Please sign in to comment.