Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
FIX: No manual refresh should be necessary on going back to the viewp…
Browse files Browse the repository at this point in the history
…oint list (#77).

TODO: Still needs more refactoring to use React automatic update instead
of ad hoc `_updateContent` method.
  • Loading branch information
benel committed Apr 27, 2019
1 parent 9d7a84e commit f96adf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sidebar/jsx/Display.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export default class Display extends React.Component {
}

_handleBack() {
this.props.update(this.props.tabId, true);
this.setState({selectedViewpoint: null});
browser.contextMenus.remove("highlightmenu");
}
Expand Down

0 comments on commit f96adf7

Please sign in to comment.