mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
fix current update cloud icon click
This commit is contained in:
@@ -78,7 +78,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
|||||||
scope.removeSourceReady = scope.$on('SourceReady', function(e, source) {
|
scope.removeSourceReady = scope.$on('SourceReady', function(e, source) {
|
||||||
|
|
||||||
// Get the ID from the correct summary field
|
// Get the ID from the correct summary field
|
||||||
var update_id = (source.current_update) ? source.summary_fields.current_update.id : source.summary_fields.last_update.id;
|
var update_id = (source.summary_fields.current_update) ? source.summary_fields.current_update.id : source.summary_fields.last_update.id;
|
||||||
|
|
||||||
$state.go('inventorySyncStdout', {id: update_id});
|
$state.go('inventorySyncStdout', {id: update_id});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user