mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
Looking for values that are objects instead of showing them as string
This commit is contained in:
parent
7512915b67
commit
6f722ec482
@ -56,10 +56,13 @@
|
||||
<md-card-content>
|
||||
<span class="wz-headline-title"><i class="fa fa-fw fa-info" aria-hidden="true"></i> Details</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<div layout="row" layout-wrap class="wz-padding-top-10" ng-repeat="(key, value) in currentRule.details"
|
||||
<div layout="row" class="wz-padding-top-10" ng-repeat="(key, value) in currentRule.details"
|
||||
ng-if='!isArray(value)'>
|
||||
<span flex="20">{{key}}</span>
|
||||
<span class="wz-text-right color-grey">{{value}}</span>
|
||||
<span ng-if="!isObject(value)" class="wz-text-right color-grey">{{value}}</span>
|
||||
<span ng-if="isObject(value)" class="color-grey">
|
||||
<span ng-repeat="(key, value) in value">{{key}}: {{value}} <span ng-if="!$last">|</span> </span>
|
||||
</span>
|
||||
</div>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
|
Loading…
Reference in New Issue
Block a user