mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-25 08:53:46 +00:00
Added search box
This commit is contained in:
@@ -190,6 +190,7 @@ export class App extends React.Component<RouteComponentProps, {}> {
|
||||
render={(props: RouteComponentProps) => (
|
||||
<TopBar
|
||||
{...props}
|
||||
gedcom={this.state.data && this.state.data.gedcom}
|
||||
showingChart={
|
||||
!!(
|
||||
this.props.history.location.pathname === '/view' &&
|
||||
@@ -197,6 +198,7 @@ export class App extends React.Component<RouteComponentProps, {}> {
|
||||
this.state.selection
|
||||
)
|
||||
}
|
||||
onSelection={this.onSelection}
|
||||
onPrint={() => {
|
||||
analyticsEvent('print');
|
||||
this.chartRef && this.chartRef.print();
|
||||
|
||||
Reference in New Issue
Block a user