1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

wrap org list in Card for consistency between detail

This commit is contained in:
John Mitchell 2019-01-29 12:50:15 -05:00
parent 65e369c0f3
commit 990851aa3b
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -8,6 +8,7 @@ import {
import { I18n, i18nMark } from '@lingui/react';
import { t } from '@lingui/macro';
import {
Card,
PageSection,
PageSectionVariants,
} from '@patternfly/react-core';
@ -195,6 +196,7 @@ class OrganizationsList extends Component {
return (
<Fragment>
<PageSection variant={medium}>
<Card>
<DataListToolbar
addUrl={`${match.url}/add`}
isAllSelected={selected.length === results.length}
@ -235,6 +237,7 @@ class OrganizationsList extends Component {
/>
{ loading ? <div>loading...</div> : '' }
{ error ? <div>error</div> : '' }
</Card>
</PageSection>
</Fragment>
);