show sidebar in logs plugin

Summary: Logs plugin was not showing sidebar after switching to new sidebar API.

Reviewed By: jknoxville

Differential Revision: D9179249

fbshipit-source-id: 922be402dbbb1096343489f6027cd543010b694f
This commit is contained in:
Daniel Büchele
2018-08-06 06:19:29 -07:00
committed by Facebook Github Bot
parent 1b3e3468a3
commit 5fd1ebba2e

View File

@@ -24,6 +24,7 @@ import {
ContextMenu,
FlexColumn,
Glyph,
SonarSidebar,
} from 'sonar';
import {SonarDevicePlugin, SearchableTable} from 'sonar';
import textContent from '../../utils/textContent.js';
@@ -553,6 +554,7 @@ export default class LogTable extends SonarDevicePlugin<LogsState> {
actions={<Button onClick={this.clearLogs}>Clear Logs</Button>}
stickyBottom={true}
/>
<SonarSidebar>{this.renderSidebar()}</SonarSidebar>
</LogTable.ContextMenu>
);
}