mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 18:28:55 +00:00
Renamed mergedSum and configSum fields
This commit is contained in:
parent
0a3fc30d61
commit
a0a7c2e692
@ -24,7 +24,7 @@ app.controller('agentsController',
|
||||
function (
|
||||
$timeout, $scope, $location, $rootScope,
|
||||
appState, apiReq, AgentsAutoComplete, errorHandler,
|
||||
tabVisualizations, vis2png, shareAgent, commonData,
|
||||
tabVisualizations, shareAgent, commonData,
|
||||
reportingService, visFactoryService, csvReq,
|
||||
wzTableFilter
|
||||
) {
|
||||
@ -310,7 +310,7 @@ function (
|
||||
$scope.groupMergedSum = (groupMergedSum.length) ? groupMergedSum[0].mergedSum : 'Unknown';
|
||||
|
||||
const agentMergedSum = agentGroups[1].data.data.items.filter(item => item.id === $scope.agent.id);
|
||||
$scope.agentMergedSum = (agentMergedSum.length) ? agentMergedSum[0].merged_sum : 'Unknown';
|
||||
$scope.agentMergedSum = (agentMergedSum.length) ? agentMergedSum[0].mergedSum : 'Unknown';
|
||||
|
||||
$scope.isSynchronized = (($scope.agentMergedSum === $scope.groupMergedSum) && !([$scope.agentMergedSum,$scope.groupMergedSum].includes('Unknown')) ) ? true : false;
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
||||
|
||||
<div layout="row" class="wz-padding-top-10">
|
||||
<span flex="25">Configuration sum</span>
|
||||
<span class="wz-text-right color-grey">{{ currentGroup.conf_sum }}</span>
|
||||
<span class="wz-text-right color-grey">{{ currentGroup.configSum }}</span>
|
||||
</div>
|
||||
<div layout="row" class="wz-padding-top-10">
|
||||
<span flex="25">Merged sum</span>
|
||||
<span class="wz-text-right color-grey">{{ currentGroup.merged_sum }}</span>
|
||||
<span class="wz-text-right color-grey">{{ currentGroup.mergedSum }}</span>
|
||||
</div>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
@ -74,7 +74,7 @@
|
||||
flex
|
||||
extra-limit="true"
|
||||
path="'/agents/groups'"
|
||||
keys="['name',{value:'count',size:1},{value:'merged_sum',size:3}]"
|
||||
keys="['name',{value:'count',size:1},{value:'mergedSum',size:3}]"
|
||||
allow-click="true"
|
||||
rows-per-page="14">
|
||||
</wazuh-table>
|
||||
|
Loading…
Reference in New Issue
Block a user