Skip to content

Commit 829f8d6

Browse files
fix preview
1 parent 8b4298c commit 829f8d6

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

x-pack/platform/plugins/shared/streams_app/public/components/stream_management/data_management/stream_detail_enrichment/processor_outcome_preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ const OutcomePreviewTable = ({ previewDocuments }: { previewDocuments: FlattenRe
605605
if (grokMode) {
606606
return <GrokExpressionsProvider patterns={grokPatterns}>{content}</GrokExpressionsProvider>;
607607
}
608-
if (dissectMode && dissectPattern) {
608+
if (dissectMode) {
609609
return <DissectColorProvider pattern={dissectPattern}>{content}</DissectColorProvider>;
610610
}
611611
return content;

x-pack/platform/plugins/shared/streams_app/public/components/stream_management/data_management/stream_detail_enrichment/use_processor_highlight_mode.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ export const useProcessorHighlightMode = ({
117117
const dissectMode =
118118
isDissectActive &&
119119
validDissectSourceField !== undefined &&
120-
!isEmpty(dissectPattern) &&
121120
!(dissectOverwrites && precedingTouchedDissect);
122121

123122
const validDissectField = dissectMode ? validDissectSourceField : undefined;

0 commit comments

Comments
 (0)