DetailSidebar

Summary:
- rename `SonarSidebar` to `DetailSidebar`
- rename portal id from `#sonarSidebar` to `#detailSidebar`

Reviewed By: passy

Differential Revision: D9851703

fbshipit-source-id: 2d904d17b0c6255a2ec3a79f0ada9bf621693c2e
This commit is contained in:
Daniel Büchele
2018-09-18 06:38:23 -07:00
committed by Facebook Github Bot
parent e360654b28
commit df0a0da744
7 changed files with 13 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ type Props = {
toggleRightSidebarAvailable: (visible: boolean) => void,
};
class SonarSidebar extends React.Component<Props> {
class DetailSidebar extends React.Component<Props> {
componentDidMount() {
this.updateSidebarAvailablility();
}
@@ -35,7 +35,7 @@ class SonarSidebar extends React.Component<Props> {
}
render() {
const domNode = document.getElementById('sonarSidebar');
const domNode = document.getElementById('detailsSidebar');
return (
this.props.children &&
this.props.rightSidebarVisible &&
@@ -58,4 +58,4 @@ export default connect(
{
toggleRightSidebarAvailable,
},
)(SonarSidebar);
)(DetailSidebar);