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
commit 48ecd2400c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -70,7 +70,6 @@ function InventoryDetail({ inventory, i18n }) {
value={inventory.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`Type`)} value={i18n._(t`Inventory`)} />
<Detail

View File

@ -85,7 +85,6 @@ describe('<InventoryDetail />', () => {
});
wrapper.update();
expectDetailToMatch(wrapper, 'Name', mockInventory.name);
expectDetailToMatch(wrapper, 'Activity', 'Coming soon');
expectDetailToMatch(wrapper, 'Description', mockInventory.description);
expectDetailToMatch(wrapper, 'Type', 'Inventory');
const org = wrapper.find('Detail[label="Organization"]');