mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Fix remaining value
This commit is contained in:
parent
25bc0f071b
commit
0ebc79a1eb
@ -74,7 +74,7 @@ export default class DataFactory {
|
||||
const totalItems = firstPage.data.data.totalItems;
|
||||
|
||||
const remaining = this.items.length === totalItems ? 0 :
|
||||
totalItems-firstPage.data.data.items.length-this.items.length;
|
||||
totalItems-this.items.length;
|
||||
|
||||
// Ignore manager as an agent, once the team solves this issue, review this line
|
||||
if(this.path === '/agents') this.items = this.items.filter(item => item.id !== '000');
|
||||
|
Loading…
Reference in New Issue
Block a user