Adds crashreporter plugin to fb4a
Summary: Adds crashreporter plugin to fb4a Reviewed By: jknoxville Differential Revision: D13278471 fbshipit-source-id: 1baa7520b2806bebdc960077bfda0699b290109b
This commit is contained in:
committed by
Facebook Github Bot
parent
0f5cee4fec
commit
06588b3d1f
@@ -602,7 +602,8 @@ export default class LogTable extends FlipperDevicePlugin<
|
|||||||
defaultFilters={DEFAULT_FILTERS}
|
defaultFilters={DEFAULT_FILTERS}
|
||||||
zebra={false}
|
zebra={false}
|
||||||
actions={<Button onClick={this.clearLogs}>Clear Logs</Button>}
|
actions={<Button onClick={this.clearLogs}>Clear Logs</Button>}
|
||||||
stickyBottom={true}
|
// If the logs is opened through deeplink, then don't scroll as the row is highlighted
|
||||||
|
stickyBottom={!this.props.deepLinkPayload}
|
||||||
/>
|
/>
|
||||||
<DetailSidebar>{this.renderSidebar()}</DetailSidebar>
|
<DetailSidebar>{this.renderSidebar()}</DetailSidebar>
|
||||||
</LogTable.ContextMenu>
|
</LogTable.ContextMenu>
|
||||||
|
|||||||
@@ -186,7 +186,9 @@ class ManagedTable extends React.Component<
|
|||||||
const index = nextProps.rows.findIndex(
|
const index = nextProps.rows.findIndex(
|
||||||
({key}) => key === Array.from(highlightedRows)[0],
|
({key}) => key === Array.from(highlightedRows)[0],
|
||||||
);
|
);
|
||||||
current.scrollToItem(index);
|
if (index >= 0) {
|
||||||
|
current.scrollToItem(index);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user