diff options
author | Dessalines <tyhou13@gmx.com> | 2019-09-06 13:04:04 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-09-06 13:04:04 -0700 |
commit | d66c19825a85cd950a97b7d06a06f2b9e58eb932 (patch) | |
tree | 1856e673991998d328383359ecdc71f3d78cf9e0 /ui/src/components/main.tsx | |
parent | d281872f956a8d208760dc6513f531fc31be12f4 (diff) |
Fix sidebar bug.
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r-- | ui/src/components/main.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index cce31fce..9ee4afdd 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -107,7 +107,6 @@ export class Main extends Component<any, MainState> { // Necessary for back button for some reason componentWillReceiveProps(nextProps: any) { if (nextProps.history.action == 'POP' || nextProps.history.action == 'PUSH') { - this.state = this.emptyState; this.state.type_ = this.getListingTypeFromProps(nextProps); this.state.sort = this.getSortTypeFromProps(nextProps); this.state.page = this.getPageFromProps(nextProps); |