mirror of
https://github.com/ansible/awx.git
synced 2026-04-05 01:59:25 -02:30
Display host name for Associate Modal (#5407)
Display host name for Associate Modal See: https://github.com/ansible/awx/issues/11256
This commit is contained in:
@@ -18,10 +18,7 @@ const QS_CONFIG = (order_by = 'name') =>
|
|||||||
|
|
||||||
function AssociateModal({
|
function AssociateModal({
|
||||||
header = t`Items`,
|
header = t`Items`,
|
||||||
columns = [
|
columns = [],
|
||||||
{ key: 'hostname', name: t`Name` },
|
|
||||||
{ key: 'node_type', name: t`Node Type` },
|
|
||||||
],
|
|
||||||
title = t`Select Items`,
|
title = t`Select Items`,
|
||||||
onClose,
|
onClose,
|
||||||
onAssociate,
|
onAssociate,
|
||||||
|
|||||||
@@ -283,6 +283,10 @@ function InstanceList() {
|
|||||||
title={t`Select Instances`}
|
title={t`Select Instances`}
|
||||||
optionsRequest={readInstancesOptions}
|
optionsRequest={readInstancesOptions}
|
||||||
displayKey="hostname"
|
displayKey="hostname"
|
||||||
|
columns={[
|
||||||
|
{ key: 'hostname', name: t`Name` },
|
||||||
|
{ key: 'node_type', name: t`Node Type` },
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{error && (
|
{error && (
|
||||||
|
|||||||
Reference in New Issue
Block a user