fix popover state (#90942)

This commit is contained in:
Joe Reuter 2021-02-10 17:08:38 +01:00 committed by GitHub
parent ec8305baa7
commit 0fc9467e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ export function TimeScaling({
iconSide="right"
data-test-subj="indexPattern-time-scaling-popover"
onClick={() => {
setPopoverOpen(true);
setPopoverOpen(!popoverOpen);
}}
>
{i18n.translate('xpack.lens.indexPattern.timeScale.advancedSettings', {