File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
components/log-viewer-webui/client/src
pages/SearchPage/SearchState Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface submitExtractStreamJobProps {
21
21
* Submits a job to extract the stream that contains a given log event. The stream is extracted
22
22
* either as a CLP IR or a JSON Lines file.
23
23
*
24
- * @param props The extraction job properties.
24
+ * @param props
25
25
* @param props.dataset
26
26
* @param props.extractJobType
27
27
* @param props.streamId
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface SearchState {
36
36
aggregationJobId : string | null ;
37
37
38
38
/**
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
40
40
* dataset so modifications to the selector do not change dataset used in extract stream job for
41
41
* log viewer links.
42
42
*/
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ const QueryStatus = () => {
67
67
68
68
submitExtractStreamJob ( {
69
69
dataset : parseResult . dataset ,
70
+
71
+ // `parseResult.type` must be valid key since parsed using with typebox type
72
+ // `ExtractJobSearchParams`.
70
73
extractJobType : EXTRACT_JOB_TYPE [ parseResult . type as keyof typeof EXTRACT_JOB_TYPE ] ,
71
74
logEventIdx : parseResult . logEventIdx ,
72
75
onUploadProgress : ( ) => {
You can’t perform that action at this time.
0 commit comments