From 38463673d5ec5f9c6bf5f6208ee0b0b6efb367ff Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Fri, 26 Feb 2016 12:25:24 -0500 Subject: [PATCH] Updated out-dated comment to reflect code --- awx/ui/client/src/helpers/Groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/helpers/Groups.js b/awx/ui/client/src/helpers/Groups.js index 1ff3d391f4..eeebb9d8bf 100644 --- a/awx/ui/client/src/helpers/Groups.js +++ b/awx/ui/client/src/helpers/Groups.js @@ -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});