diff --git a/src/actions/WindowActions.js b/src/actions/WindowActions.js index bc49322b1..940b21e96 100644 --- a/src/actions/WindowActions.js +++ b/src/actions/WindowActions.js @@ -657,6 +657,11 @@ export function handleProcessResponse(response, type, id, successCallback) { case 'closeIncludedView': dispatch(setListIncludedView()); break; + case 'selectViewRows': + dispatch(selectTableItems( + action.rowIds, action.windowId + )); + break; } } diff --git a/src/components/app/DocumentList.js b/src/components/app/DocumentList.js index 9907a450f..5b81299ec 100644 --- a/src/components/app/DocumentList.js +++ b/src/components/app/DocumentList.js @@ -150,6 +150,7 @@ class DocumentList extends Component { if( selectedWindowType === windowType && cachedSelection !== null && + cachedSelection !== undefined && layout && layout.supportIncludedView && includedView && includedView.windowType && includedView.viewId ){ diff --git a/src/components/header/Header.js b/src/components/header/Header.js index 6133f49c3..625d5f4b5 100644 --- a/src/components/header/Header.js +++ b/src/components/header/Header.js @@ -194,7 +194,7 @@ class Header extends Component { handleSidelistToggle = (id = null, sideListTab) => { this.toggleScrollScope(id !== null); - + this.setState({ isSideListShow: id !== null && id !== sideListTab, sideListTab: id !== sideListTab ? id : null @@ -502,7 +502,8 @@ class Header extends Component { />} this.handleSidelistToggle(id, sideListTab)} + handleSidelistToggle={(id) => + this.handleSidelistToggle(id, sideListTab)} handleMenuOverlay={isMenuOverlayShow ? () => this.handleMenuOverlay('', '') : () => this.closeOverlays('', diff --git a/src/containers/DocList.js b/src/containers/DocList.js index 804326400..2c01b0177 100644 --- a/src/containers/DocList.js +++ b/src/containers/DocList.js @@ -120,6 +120,7 @@ class DocList extends Component { >