mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03: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:
parent
a2acbe9fe6
commit
abb1125a2c
@ -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,
|
||||
|
||||
@ -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 && (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user