* [Discover] fix hide chart button * [Discover] update tests * [Discover] fix functional * [Discover] remove hideChart from the URL it is not true Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
This commit is contained in:
parent
3c04a06088
commit
7ce8ffbce2
2 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ describe('getStateDefaults', () => {
|
|||
"default_column",
|
||||
],
|
||||
"filters": undefined,
|
||||
"hideChart": undefined,
|
||||
"index": "index-pattern-with-timefield-id",
|
||||
"interval": "auto",
|
||||
"query": undefined,
|
||||
|
@ -54,6 +55,7 @@ describe('getStateDefaults', () => {
|
|||
"default_column",
|
||||
],
|
||||
"filters": undefined,
|
||||
"hideChart": undefined,
|
||||
"index": "the-index-pattern-id",
|
||||
"interval": "auto",
|
||||
"query": undefined,
|
||||
|
|
|
@ -46,6 +46,7 @@ export function getStateDefaults({
|
|||
index: indexPattern!.id,
|
||||
interval: 'auto',
|
||||
filters: cloneDeep(searchSource.getOwnField('filter')),
|
||||
hideChart: undefined,
|
||||
} as AppState;
|
||||
if (savedSearch.grid) {
|
||||
defaultState.grid = savedSearch.grid;
|
||||
|
|
Loading…
Reference in a new issue