Skip to content

Commit

Permalink
Display host name for Associate Modal (ansible#5407)
Browse files Browse the repository at this point in the history
Display host name for Associate Modal

See: ansible#11256
  • Loading branch information
nixocio authored and AlexSCorey committed Dec 1, 2021
1 parent eb90474 commit 433a15c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions awx/ui/src/components/AssociateModal/AssociateModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions awx/ui/src/screens/InstanceGroup/Instances/InstanceList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit 433a15c

Please sign in to comment.