Skip to content

Commit

Permalink
Added page size options in Security events, explore agents (#3105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl authored Apr 5, 2021
1 parent e730b8d commit ffed103
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to the Wazuh app project will be documented in this file.
### Added

- Added Tools on wazuh menu with Dev Console and Logtest [#1434](https://github.com/wazuh/wazuh-kibana-app/pull/1434)
- Added page size options in Security events, explore agents table [#2925](https://github.com/wazuh/wazuh-kibana-app/pull/2925)
- Add a message to restart cluster or manager after import a file in Rules, Decoders or CDB Lists [#3051](https://github.com/wazuh/wazuh-kibana-app/pull/3051)
- Add `logtest` PUT example on API Console [#3061](https://github.com/wazuh/wazuh-kibana-app/pull/3061)

Expand All @@ -21,7 +22,6 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fix space character missing on deployment command if UDP is configured [#3108](https://github.com/wazuh/wazuh-kibana-app/pull/3108)
- Fixed name for "TCP sessions" visualization and average metric is now a sum [#3118](https://github.com/wazuh/wazuh-kibana-app/pull/3118)


## Wazuh v4.1.4 - Kibana 7.10.0 , 7.10.2 - Revision 4105

- Adapt for Wazuh 4.1.4
Expand Down
2 changes: 1 addition & 1 deletion public/components/common/modules/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class MainModule extends Component {
this.setState({ loadingReport: true });
const isDarkModeTheme = getUiSettings().get('theme:darkMode');
if (isDarkModeTheme) {
const defaultTextColor = $('#moduleDashboard .euiButtonEmpty__text').children().css('color');
const defaultTextColor = '#DFE5EF';
try {
$('.euiButtonEmpty__text').css('color', 'black');
await this.startVis2PngByAgent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ export class AgentSelectionTable extends Component {
pageIndex: this.state.pageIndex,
pageSize: this.state.itemsPerPage,
totalItemCount: this.state.totalItems,
pageSizeOptions: [10, 25, 50, 100]
};

this.columns.forEach(column => {
Expand Down Expand Up @@ -684,7 +685,7 @@ export class AgentSelectionTable extends Component {
<EuiTablePagination
activePage={pagination.pageIndex}
itemsPerPage={pagination.pageSize}
itemsPerPageOptions={[10]}
itemsPerPageOptions={pagination.pageSizeOptions}
pageCount={pagination.pageCount}
onChangeItemsPerPage={this.onChangeItemsPerPage}
onChangePage={this.onChangePage}
Expand Down

0 comments on commit ffed103

Please sign in to comment.