diff --git a/awx/ui/static/js/lists/InventoryGroups.js b/awx/ui/static/js/lists/InventoryGroups.js index ed147ae0f1..7750283365 100644 --- a/awx/ui/static/js/lists/InventoryGroups.js +++ b/awx/ui/static/js/lists/InventoryGroups.js @@ -78,6 +78,12 @@ angular.module('InventoryGroupsDefinition', []) awToolTip: "Edit inventory properties", ngClick: 'editInventoryProperties()' }, + refresh: { + mode: 'all', + awToolTip: "Refresh the page", + ngClick: "refreshGroups()", + ngShow: "socketStatus == 'error'" + }, stream: { ngClick: "showGroupActivity()", awToolTip: "View Activity Stream", diff --git a/awx/ui/static/js/lists/InventoryHosts.js b/awx/ui/static/js/lists/InventoryHosts.js index ef0c371331..8e4638e242 100644 --- a/awx/ui/static/js/lists/InventoryHosts.js +++ b/awx/ui/static/js/lists/InventoryHosts.js @@ -98,6 +98,12 @@ angular.module('InventoryHostsDefinition', []) ngHide: '!selected_group_id', //disable when 'All Hosts' selected awToolTip: "Create a new host" }, + refresh: { + mode: 'all', + awToolTip: "Refresh the page", + ngClick: "refreshGroups()", + ngShow: "socketStatus == 'error'" + }, stream: { ngClick: "showHostActivity()", awToolTip: "View Activity Stream",