Skip to content

Commit 549b0ef

Browse files
author
Marco
committed
latest
1 parent 1ae6006 commit 549b0ef

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

components/log-viewer-webui/client/src/api/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface submitExtractStreamJobProps {
2121
* Submits a job to extract the stream that contains a given log event. The stream is extracted
2222
* either as a CLP IR or a JSON Lines file.
2323
*
24-
* @param props The extraction job properties.
24+
* @param props
2525
* @param props.dataset
2626
* @param props.extractJobType
2727
* @param props.streamId

components/log-viewer-webui/client/src/pages/SearchPage/SearchState/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface SearchState {
3636
aggregationJobId: string | null;
3737

3838
/**
39-
* Clp-s dataset filter submitted as part of query. There is a seperate state for the submitted
39+
* Clp-s dataset filter submitted as part of query. There is a separate state for the submitted
4040
* dataset so modifications to the selector do not change dataset used in extract stream job for
4141
* log viewer links.
4242
*/

components/log-viewer-webui/client/src/ui/QueryStatus.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ const QueryStatus = () => {
6767

6868
submitExtractStreamJob({
6969
dataset: parseResult.dataset,
70+
71+
// `parseResult.type` must be valid key since parsed using with typebox type
72+
// `ExtractJobSearchParams`.
7073
extractJobType: EXTRACT_JOB_TYPE[parseResult.type as keyof typeof EXTRACT_JOB_TYPE],
7174
logEventIdx: parseResult.logEventIdx,
7275
onUploadProgress: () => {

0 commit comments

Comments
 (0)