Skip to content

Commit 3eda4d0

Browse files
Fix API
1 parent 626d956 commit 3eda4d0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

x-pack/plugins/security_solution/server/lib/timeline/saved_object.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ const getTimelineTypeFilter = (
125125
status: TimelineStatusLiteralWithNull
126126
) => {
127127
const typeFilter =
128-
timelineType == null
129-
? null
130-
: timelineType === TimelineType.template
128+
timelineType === TimelineType.template
131129
? `siem-ui-timeline.attributes.timelineType: ${TimelineType.template}` /** Show only whose timelineType exists and equals to "template" */
132130
: /** Show me every timeline whose timelineType is not "template".
133131
* which includes timelineType === 'default' and

0 commit comments

Comments
 (0)