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 <ruben.vp8510@gmail.com>
Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
  • Loading branch information
rubenvp8510 authored and vvvprabhakar committed Jul 4, 2021
1 parent 601ecb8 commit a746138
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 a746138

Please sign in to comment.