Adds notification list to orgs

This commit is contained in:
mabashian
2019-01-21 13:13:09 -05:00
parent 3060abab1d
commit 58f99c8918
15 changed files with 870 additions and 80 deletions

View File

@@ -75,7 +75,7 @@ class Organization extends Component {
}
render () {
const { location, match } = this.props;
const { location, match, api, history } = this.props;
const { parentBreadcrumbObj, organization, error, loading } = this.state;
const params = new URLSearchParams(location.search);
const currentTab = params.get('tab') || 'details';
@@ -92,7 +92,7 @@ class Organization extends Component {
<Switch>
<Route
path={`${match.path}/edit`}
component={() => (
render={() => (
<OrganizationEdit
location={location}
match={match}
@@ -105,7 +105,7 @@ class Organization extends Component {
/>
<Route
path={`${match.path}`}
component={() => (
render={() => (
<OrganizationDetail
location={location}
match={match}
@@ -113,6 +113,8 @@ class Organization extends Component {
organization={organization}
params={params}
currentTab={currentTab}
history={history}
api={api}
/>
)}
/>