This commit is contained in:
parent
915cb06211
commit
636d7bb6e8
|
@ -76,9 +76,11 @@
|
|||
<span class="json-field" title="{{::prop.name}}">
|
||||
{{::prop.nameI18n}}:
|
||||
</span>
|
||||
<vn-json-value ng-class="::{'link': prop.descriptor}"
|
||||
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
|
||||
value value="::$ctrl.mainVal(prop, log.action)"></vn-json-value><span ng-if="::!$last">,</span>
|
||||
<vn-json-value
|
||||
ng-class="::{'link': prop.descriptor}"
|
||||
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
|
||||
value="::$ctrl.mainVal(prop, log.action)">
|
||||
</vn-json-value><span ng-if="::!$last">,</span>
|
||||
</span>
|
||||
<div ng-if="log.expand" class="expanded-json">
|
||||
<div ng-repeat="prop in ::log.props">
|
||||
|
@ -90,9 +92,11 @@
|
|||
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
|
||||
value="::$ctrl.mainVal(prop, log.action)"></vn-json-value>
|
||||
<span ng-if="::log.action == 'update'">
|
||||
← <vn-json-value ng-class="::{'link': prop.descriptor}"
|
||||
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, prop.old)"
|
||||
value="::prop.old"></vn-json-value>
|
||||
← <vn-json-value
|
||||
ng-class="::{'link': prop.descriptor}"
|
||||
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, prop.old)"
|
||||
value="::prop.old">
|
||||
</vn-json-value>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue