We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 626d956 commit 3eda4d0Copy full SHA for 3eda4d0
1 file changed
x-pack/plugins/security_solution/server/lib/timeline/saved_object.ts
@@ -125,9 +125,7 @@ const getTimelineTypeFilter = (
125
status: TimelineStatusLiteralWithNull
126
) => {
127
const typeFilter =
128
- timelineType == null
129
- ? null
130
- : timelineType === TimelineType.template
+ timelineType === TimelineType.template
131
? `siem-ui-timeline.attributes.timelineType: ${TimelineType.template}` /** Show only whose timelineType exists and equals to "template" */
132
: /** Show me every timeline whose timelineType is not "template".
133
* which includes timelineType === 'default' and
0 commit comments