mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
Update Patternfly and Axios deps
This commit is contained in:
@@ -24,8 +24,6 @@ describe('<NotificationTemplates />', () => {
|
||||
expect(pageSections.length).toBe(2);
|
||||
expect(title.length).toBe(1);
|
||||
expect(title.props().size).toBe('2xl');
|
||||
pageSections.forEach(section => {
|
||||
expect(section.props().variant).toBeDefined();
|
||||
});
|
||||
expect(pageSections.first().props().variant).toBe('light');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -10,14 +10,14 @@ import {
|
||||
class NotificationTemplates extends Component {
|
||||
render() {
|
||||
const { i18n } = this.props;
|
||||
const { light, medium } = PageSectionVariants;
|
||||
const { light } = PageSectionVariants;
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<PageSection variant={light} className="pf-m-condensed">
|
||||
<Title size="2xl">{i18n._(t`Notification Templates`)}</Title>
|
||||
</PageSection>
|
||||
<PageSection variant={medium} />
|
||||
<PageSection />
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user