Skip to content

Commit

Permalink
alert suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
logeekal committed Feb 21, 2023
1 parent 3e13779 commit 1352dfe
Showing 1 changed file with 20 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,35 +154,27 @@ export const getRenderCellValueHook = ({

const localLinkValues = getOr([], colHeader?.linkField ?? '', ecsData);

const isTourAnchor = columnId === SIGNAL_RULE_NAME_FIELD_NAME && rowIndex === 0;

return (
<GuidedOnboardingTourStep
isTourAnchor={isTourAnchor}
step={AlertsCasesTourSteps.pointToAlertName}
tourId={SecurityStepId.alertsCases}
>
<DefaultCellRenderer
browserFields={browserFields}
columnId={columnId}
data={finalData}
ecsData={ecsData}
eventId={eventId}
header={myHeader}
isDetails={isDetails}
isDraggable={isDraggable}
isExpandable={isExpandable}
isExpanded={isExpanded}
linkValues={linkValues ?? localLinkValues}
rowIndex={rowIndex}
colIndex={colIndex}
rowRenderers={rowRenderers ?? defaultRowRenderers}
setCellProps={setCellProps}
scopeId={scopeId}
truncate={truncate}
asPlainText={false}
/>
</GuidedOnboardingTourStep>
<RenderCellValue
browserFields={browserFields}
columnId={columnId}
data={finalData}
ecsData={ecsData}
eventId={eventId}
header={myHeader}
isDetails={isDetails}
isDraggable={isDraggable}
isExpandable={isExpandable}
isExpanded={isExpanded}
linkValues={linkValues ?? localLinkValues}
rowIndex={rowIndex}
colIndex={colIndex}
rowRenderers={rowRenderers ?? defaultRowRenderers}
setCellProps={setCellProps}
scopeId={tableId}
truncate={truncate}
asPlainText={false}
/>
);
},
[browserFieldsByName, browserFields, columnHeaders]
Expand Down

0 comments on commit 1352dfe

Please sign in to comment.