Skip to content

Commit

Permalink
Fixing bug changing master node configuration (#3062)
Browse files Browse the repository at this point in the history
* Fixing bug changing master node configuration

* Added changelog.md
  • Loading branch information
Alejandro Cuéllar Peinado authored Mar 18, 2021
1 parent de15b9f commit 8eb486d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to the Wazuh app project will be documented in this file.

- Fixed unexpected behaviour in Roles mapping [#3028](https://github.com/wazuh/wazuh-kibana-app/pull/3028)
- Improve toast message when selecting a default API [#3049](https://github.com/wazuh/wazuh-kibana-app/pull/3049)
- Fixed bug changing master node configuration [#3062](https://github.com/wazuh/wazuh-kibana-app/pull/3062)

## Wazuh v4.1.2 - Kibana 7.10.0 , 7.10.2 - Revision 4104

Expand Down
2 changes: 1 addition & 1 deletion public/components/health-check/health-check.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class HealthCheck extends Component {

if (hosts.length) {
for (let i = 0; i < hosts.length; i++) {
let tries = 10;
let tries = 36;
while (tries--) {
await this.delay(5000);
try {
Expand Down
2 changes: 1 addition & 1 deletion public/components/wz-menu/wz-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class WzMenu extends Component {
<EuiFlexItem>
<p></p>
</EuiFlexItem>
{this.props.state.wazuhNotReadyYet.includes('Restarting') && (
{typeof this.props.state.wazuhNotReadyYet === "string" && this.props.state.wazuhNotReadyYet.includes('Restarting') && (
<EuiFlexItem grow={false}>
<p>
{' '}
Expand Down

0 comments on commit 8eb486d

Please sign in to comment.