diff --git a/awx/ui/src/components/AssociateModal/AssociateModal.js b/awx/ui/src/components/AssociateModal/AssociateModal.js index abfc2293ac..38335020d2 100644 --- a/awx/ui/src/components/AssociateModal/AssociateModal.js +++ b/awx/ui/src/components/AssociateModal/AssociateModal.js @@ -18,10 +18,7 @@ const QS_CONFIG = (order_by = 'name') => function AssociateModal({ header = t`Items`, - columns = [ - { key: 'hostname', name: t`Name` }, - { key: 'node_type', name: t`Node Type` }, - ], + columns = [], title = t`Select Items`, onClose, onAssociate, diff --git a/awx/ui/src/screens/InstanceGroup/Instances/InstanceList.js b/awx/ui/src/screens/InstanceGroup/Instances/InstanceList.js index f0a87fe653..946bc81d2e 100644 --- a/awx/ui/src/screens/InstanceGroup/Instances/InstanceList.js +++ b/awx/ui/src/screens/InstanceGroup/Instances/InstanceList.js @@ -283,6 +283,10 @@ function InstanceList() { title={t`Select Instances`} optionsRequest={readInstancesOptions} displayKey="hostname" + columns={[ + { key: 'hostname', name: t`Name` }, + { key: 'node_type', name: t`Node Type` }, + ]} /> )} {error && (