Skip to content

Commit d34ef7b

Browse files
authored
reset fields fix (#110710)
1 parent 16af3e9 commit d34ef7b

File tree

2 files changed

+5
-0
lines changed
  • x-pack/plugins/security_solution

2 files changed

+5
-0
lines changed

x-pack/plugins/security_solution/common/types/timeline/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface TimelinePersistInput {
4848
expandedDetail?: TimelineExpandedDetail;
4949
filters?: Filter[];
5050
columns: ColumnHeaderOptions[];
51+
defaultColumns?: ColumnHeaderOptions[];
5152
itemsPerPage?: number;
5253
indexNames: string[];
5354
kqlQuery?: {

x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ type Props = OwnProps & PropsFromRedux;
7878
const StatefulEventsViewerComponent: React.FC<Props> = ({
7979
createTimeline,
8080
columns,
81+
defaultColumns,
8182
dataProviders,
8283
defaultCellActions,
8384
deletedEventIds,
@@ -128,6 +129,7 @@ const StatefulEventsViewerComponent: React.FC<Props> = ({
128129
createTimeline({
129130
id,
130131
columns,
132+
defaultColumns,
131133
excludedRowRendererIds,
132134
indexNames: selectedPatterns,
133135
sort,
@@ -250,6 +252,7 @@ const makeMapStateToProps = () => {
250252
const timeline: TimelineModel = getTimeline(state, id) ?? defaultModel;
251253
const {
252254
columns,
255+
defaultColumns,
253256
dataProviders,
254257
deletedEventIds,
255258
excludedRowRendererIds,
@@ -263,6 +266,7 @@ const makeMapStateToProps = () => {
263266

264267
return {
265268
columns,
269+
defaultColumns,
266270
dataProviders,
267271
deletedEventIds,
268272
excludedRowRendererIds,

0 commit comments

Comments
 (0)