mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Merge pull request #2686 from ryanpetrello/non-exclusive-policy-instance-list
show the manual instance tag based on the correct instance attribute
This commit is contained in:
@@ -8,7 +8,7 @@ function InstancesController ($scope, $state, $http, models, strings, Dataset, P
|
|||||||
vm.isSuperuser = $scope.$root.user_is_superuser;
|
vm.isSuperuser = $scope.$root.user_is_superuser;
|
||||||
|
|
||||||
vm.instances = instanceGroup.get('related.instances.results').map(instance => {
|
vm.instances = instanceGroup.get('related.instances.results').map(instance => {
|
||||||
instance.is_manual = vm.policy_instance_list.includes(instance.hostname);
|
instance.is_manual = instance.managed_by_policy === false;
|
||||||
return instance;
|
return instance;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user