This commit is contained in:
mgabdev
2020-05-03 01:22:49 -04:00
parent 196a906cec
commit 055b5a430f
85 changed files with 1110 additions and 1051 deletions

View File

@@ -5,32 +5,34 @@ import Layout from './layout'
import GroupHeader from '../components/group_header'
export default class GroupLayout extends ImmutablePureComponent {
static propTypes = {
actions: PropTypes.array,
children: PropTypes.node,
group: ImmutablePropTypes.map,
relationships: ImmutablePropTypes.map,
layout: PropTypes.object,
relationships: ImmutablePropTypes.map,
showBackBtn: PropTypes.bool,
title: PropTypes.string,
}
render() {
const {
group,
children,
layout,
showBackBtn,
actions,
children,
group,
layout,
relationships,
showBackBtn,
title,
} = this.props
const title = !!group ? group.get('title') : undefined
return (
<Layout
noRightSidebar
title={title}
actions={actions}
showBackBtn={showBackBtn}
title={title}
>
<div className={[_s.default, _s.width100PC, _s.pl15].join(' ')}>