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:
softwarefactory-project-zuul[bot]
2020-11-02 15:39:54 +00:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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"]');