mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Merge pull request #8491 from nixocio/ui_issue_8467
Remove activity from inventory details page Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -70,7 +70,6 @@ function InventoryDetail({ inventory, i18n }) {
|
|||||||
value={inventory.name}
|
value={inventory.name}
|
||||||
dataCy="inventory-detail-name"
|
dataCy="inventory-detail-name"
|
||||||
/>
|
/>
|
||||||
<Detail label={i18n._(t`Activity`)} value="Coming soon" />
|
|
||||||
<Detail label={i18n._(t`Description`)} value={inventory.description} />
|
<Detail label={i18n._(t`Description`)} value={inventory.description} />
|
||||||
<Detail label={i18n._(t`Type`)} value={i18n._(t`Inventory`)} />
|
<Detail label={i18n._(t`Type`)} value={i18n._(t`Inventory`)} />
|
||||||
<Detail
|
<Detail
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ describe('<InventoryDetail />', () => {
|
|||||||
});
|
});
|
||||||
wrapper.update();
|
wrapper.update();
|
||||||
expectDetailToMatch(wrapper, 'Name', mockInventory.name);
|
expectDetailToMatch(wrapper, 'Name', mockInventory.name);
|
||||||
expectDetailToMatch(wrapper, 'Activity', 'Coming soon');
|
|
||||||
expectDetailToMatch(wrapper, 'Description', mockInventory.description);
|
expectDetailToMatch(wrapper, 'Description', mockInventory.description);
|
||||||
expectDetailToMatch(wrapper, 'Type', 'Inventory');
|
expectDetailToMatch(wrapper, 'Type', 'Inventory');
|
||||||
const org = wrapper.find('Detail[label="Organization"]');
|
const org = wrapper.find('Detail[label="Organization"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user