Skip to content

Commit

Permalink
Fix timepicker close (#5341)
Browse files Browse the repository at this point in the history
* Fix timepicker close

* Add changelog

* Update CHANGELOG.md
  • Loading branch information
yenienserrano authored Mar 30, 2023
1 parent 7d3e2e7 commit a24a1b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed `Top 5 users` table overflow in `FIM::Dashboard` [#5334](https://github.com/wazuh/wazuh-kibana-app/pull/5334)
- Fixed a visual error in the 'About' section. [#5337](https://github.com/wazuh/wazuh-kibana-app/pull/5337)
- Fixed the `Anomaly and malware detection` link. [#5329](https://github.com/wazuh/wazuh-kibana-app/pull/5329)
- Fixed the problem that did not allow closing the time picker when the button was clicked again in `Agents` and `Management/Statistics`. [#5341](https://github.com/wazuh/wazuh-kibana-app/pull/5341)

## Wazuh v4.4.0 - OpenSearch Dashboards 2.4.0 - Revision 06

Expand Down
6 changes: 3 additions & 3 deletions public/components/wz-date-picker/components/condensed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export function CondensedPicker({ ranges, onTimeChange }) {
return result;
}

const button = (<EuiButtonEmpty
onClick={() => setIsOpen(true)}
const button = (<EuiButtonEmpty
onClick={() => setIsOpen(!isOpen)}
iconType="arrowDown"
iconSide="right">
{!!customRange
Expand Down Expand Up @@ -78,4 +78,4 @@ export function CondensedPicker({ ranges, onTimeChange }) {
</EuiPopover>
)

}
}

0 comments on commit a24a1b7

Please sign in to comment.