diff --git a/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js b/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js index b7c71e338a..a589a37a83 100644 --- a/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js +++ b/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js @@ -15,8 +15,8 @@ export default ['templateUrl', function(templateUrl) { $scope.streamTarget = ($state.params && $state.params.target) ? $state.params.target : 'dashboard'; $scope.options = [ + {label: 'All Activity', value: 'dashboard'}, {label: 'Credentials', value: 'credential'}, - {label: 'Dashboard', value: 'dashboard'}, {label: 'Hosts', value: 'host'}, {label: 'Inventories', value: 'inventory'}, {label: 'Inventory Scripts', value: 'inventory_script'}, @@ -38,11 +38,11 @@ export default ['templateUrl', function(templateUrl) { if($scope.streamTarget && $scope.streamTarget == 'dashboard') { // Just navigate to the base activity stream - $state.go('activityStream', {}, {inherit: false, reload: true}); + $state.go('activityStream', {}, {inherit: false}); } else { // Attach the taget to the query parameters - $state.go('activityStream', {target: $scope.streamTarget}); + $state.go('activityStream', {target: $scope.streamTarget}, {inherit: false}); } } diff --git a/awx/ui/client/src/helpers/ActivityStream.js b/awx/ui/client/src/helpers/ActivityStream.js index 6a59bee789..05171b2bdc 100644 --- a/awx/ui/client/src/helpers/ActivityStream.js +++ b/awx/ui/client/src/helpers/ActivityStream.js @@ -16,7 +16,7 @@ export default function () { return function (target) { - var rtnTitle = 'DASHBOARD'; + var rtnTitle = 'ALL ACTIVITY'; switch(target) { case 'project': @@ -49,6 +49,9 @@ export default case 'schedule': rtnTitle = 'SCHEDULES'; break; + case 'host': + rtnTitle = 'HOSTS'; + break; } return rtnTitle;