mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Updated out-dated comment to reflect code
This commit is contained in:
parent
6870a5d60c
commit
38463673d5
@ -78,7 +78,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
||||
}
|
||||
scope.removeSourceReady = scope.$on('SourceReady', function(e, source) {
|
||||
|
||||
// Pull the ID out of related.current_update / related.last_update
|
||||
// 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;
|
||||
|
||||
$state.go('inventorySyncStdout', {id: update_id});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user