mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Removed reload: true since it's not needed to force a transition when going to the activity stream. Changed the "Dashboard" dropdown to "All Activity."
This commit is contained in:
parent
b967caedaa
commit
3c85e9e639
@ -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,7 +38,7 @@ 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
|
||||
|
@ -16,7 +16,7 @@ export default
|
||||
function () {
|
||||
return function (target) {
|
||||
|
||||
var rtnTitle = 'DASHBOARD';
|
||||
var rtnTitle = 'ALL ACTIVITY';
|
||||
|
||||
switch(target) {
|
||||
case 'project':
|
||||
|
Loading…
Reference in New Issue
Block a user