mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Merge pull request #1169 from wazuh/issue-1167
Added refresh action for agents preview table
This commit is contained in:
commit
e60d686333
@ -211,4 +211,8 @@ export class AgentsPreviewController {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
reloadList() {
|
||||
this.$scope.$broadcast('wazuhSearch', { term:'' });
|
||||
}
|
||||
}
|
||||
|
@ -695,4 +695,8 @@ md-sidenav {
|
||||
color: #000000 !important;
|
||||
background-color: #d9d9d9 !important;
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
|
||||
.agents-prev-btn {
|
||||
margin-top: 20px !important;
|
||||
}
|
@ -49,7 +49,10 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<wz-tag-filter path="'/agents'" query-fn="ctrl.query(q, search)" fields-model="ctrl.searchBarModel"></wz-tag-filter>
|
||||
<div layout="row">
|
||||
<wz-tag-filter flex path="'/agents'" query-fn="ctrl.query(q, search)" fields-model="ctrl.searchBarModel"></wz-tag-filter>
|
||||
<md-button class="agents-prev-btn" ng-click="ctrl.reloadList()"><i class="fa fa-fw fa-refresh"></i> Refresh</md-button>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="margin-top-30">
|
||||
<wz-table flex path="'/agents'" keys="['id','name','ip','status','group','os.name','os.version','version', 'dateAdd', 'lastKeepAlive']"
|
||||
|
Loading…
Reference in New Issue
Block a user