Skip to content

Commit

Permalink
Pass a function that doesn't return anything to FileUpload component (j…
Browse files Browse the repository at this point in the history
…aegertracing#658)

Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
  • Loading branch information
rubenvp8510 authored and vvvprabhakar committed Jul 4, 2021
1 parent 5a2940a commit c335dc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/jaeger-ui/src/components/SearchTracePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ export class SearchTracePageImpl extends Component {
{!loadingServices && services ? <SearchForm services={services} /> : <LoadingIndicator />}
</TabPane>
<TabPane tab="JSON File" key="fileLoader">
<FileLoader loadJsonTraces={loadJsonTraces} />
<FileLoader
loadJsonTraces={(fileList: FileList) => {
loadJsonTraces(fileList);
}}
/>
</TabPane>
</Tabs>
</div>
Expand Down

0 comments on commit c335dc2

Please sign in to comment.