[SecuritySolution][Threat Hunting Investigation] Fix timeline showing as changed when it wasn't actually changed (#188106)

## Summary

Fixes https://github.com/elastic/security-team/issues/9646

The embedded discover's `update` mechanism has changed and the `grid`
and `hideChart` properties keep changing on initial sync, causing the
timeline show as `changed` when it actually didn't. These two properties
are not important to actually determine the changed state of timeline
and we can therefore ignore them.
This commit is contained in:
Jan Monschke 2024-07-11 20:45:04 +02:00 committed by GitHub
parent 84ca0e85b5
commit b97f309926
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,8 +24,6 @@ export const savedSearchComparator = (
const keysToSelect = [
'columns',
'grid',
'hideChart',
'sort',
'timeRange',
'fields.filter',