You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<optionng-repeat="version in $ctrl.versions" value="{{version.object_version}}">Version {{version.object_version}}</option>
12
+
<optionng-repeat="version in $ctrl.versions.slice(0, $ctrl.versions.length-1)" value="{{version.object_version}}">Version {{version.object_version}}</option>
13
13
</select>
14
14
</div>
15
-
<divclass="compare-query-revert-wrapper hidden"><ang-click="$ctrl.revertQuery()" class="btn btn-default">Revert to version {{$ctrl.previousQueryVersion}}</a></div>
15
+
<divclass="compare-query-revert-wrapper hidden"><ang-click="$ctrl.revertQuery()" class="btn btn-default">Revert to version {{$ctrl.previousQueryVersion + 1}}</a></div>
16
16
</div>
17
17
<div>
18
18
<h5>Current Version {{$ctrl.currentQuery.version}}</h5>
@@ -25,13 +25,9 @@ <h5>Current Version {{$ctrl.currentQuery.version}}</h5>
25
25
</div>
26
26
</div>
27
27
<div>
28
-
<h5>Previous Version {{$ctrl.previousQueryVersion}}</h5>
28
+
<h5>Previous Version {{$ctrl.previousQueryVersion + 1}}</h5>
29
29
<divclass="diff-content">
30
-
<pid="previous-query-diff">
31
-
<spanng-class="{'diff-added': part.added, 'diff-removed': part.removed}" ng-repeat="part in $ctrl.previousDiff">
0 commit comments