mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
parent
5e1072e452
commit
0ed2cea393
5 changed files with 8 additions and 24 deletions
|
@ -101,7 +101,7 @@
|
|||
"dependencies": {
|
||||
"@babel/core": "^7.5.5",
|
||||
"@babel/register": "^7.5.5",
|
||||
"@elastic/charts": "^11.1.1",
|
||||
"@elastic/charts": "^12.0.2",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/eui": "13.6.1",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
|
|
|
@ -130,14 +130,7 @@ const HostDetailsComponent = React.memo<HostDetailsComponentProps>(
|
|||
setQuery={setQuery}
|
||||
to={to}
|
||||
narrowDateRange={(min: number, max: number) => {
|
||||
/**
|
||||
* Using setTimeout here because of this issue:
|
||||
* https://github.com/elastic/elastic-charts/issues/360
|
||||
* Need to remove the setTimeout here after this issue is fixed.
|
||||
* */
|
||||
setTimeout(() => {
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}, 500);
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -101,14 +101,7 @@ const HostsComponent = React.memo<HostsComponentProps>(
|
|||
setQuery={setQuery}
|
||||
to={to}
|
||||
narrowDateRange={(min: number, max: number) => {
|
||||
/**
|
||||
* Using setTimeout here because of this issue:
|
||||
* https://github.com/elastic/elastic-charts/issues/360
|
||||
* Need to remove the setTimeout here after this issue is fixed.
|
||||
* */
|
||||
setTimeout(() => {
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}, 500);
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -126,9 +126,7 @@ const NetworkComponent = React.memo<NetworkComponentProps>(
|
|||
from={from}
|
||||
to={to}
|
||||
narrowDateRange={(min: number, max: number) => {
|
||||
setTimeout(() => {
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}, 500);
|
||||
setAbsoluteRangeDatePicker({ id: 'global', from: min, to: max });
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -1049,10 +1049,10 @@
|
|||
debug "^3.1.0"
|
||||
lodash.once "^4.1.1"
|
||||
|
||||
"@elastic/charts@^11.1.1":
|
||||
version "11.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-11.1.1.tgz#32e1b18ec7ede9e3d62c3375284ad31d778017e2"
|
||||
integrity sha512-zay5cQ39XzoKe0cabL/GCI2W1bjqatT20K/u7ZdHFa+GpazUd1/zjOpsLsKlq31Rr5yWXbc2M2iC4ZUp8n8crg==
|
||||
"@elastic/charts@^12.0.2":
|
||||
version "12.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-12.0.2.tgz#576fafccd9e9f6ca751b6e846be3a5c954e8865b"
|
||||
integrity sha512-BxdJVXUkYE11X+n5QWfu6ntDCm6wbkvLRNWrJG30pgGv9QEDhEbraQ8ql9Vx1454EuEjgXP6xOM0X+3rCO4Nqw==
|
||||
dependencies:
|
||||
"@types/d3-shape" "^1.3.1"
|
||||
"@types/luxon" "^1.11.1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue