dasboard_history: fixed json diff so only dashbord is compared and not the whole dashboard revision object (message and restoreFrom etc was showing up in json diff)

This commit is contained in:
Torkel Ödegaard
2017-06-07 13:36:03 +02:00
parent 8f6c9c5946
commit 577dfee086
3 changed files with 20 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
</li>
<li class="gf-tabs-item" ng-show="ctrl.mode === 'compare'">
<span class="active gf-tabs-link">
Version {{ctrl.baseInfo.version}} <i class="fa fa-arrows-h"></i> Version {{ctrl.newInfo.version}}
Version Comparison
</span>
</li>
</ul>
@@ -123,7 +123,7 @@
Version {{ctrl.newInfo.version}}
<cite class="muted" ng-if="ctrl.isNewLatest">(Latest)</cite>
</h4>
<section ng-if="ctrl.diff === 'basic'">
<section>
<p class="small muted">
<strong>Version {{ctrl.newInfo.version}}</strong> updated by
<span>{{ctrl.newInfo.createdBy}} </span>