diff --git a/public/src/js/controllers/transactions.js b/public/src/js/controllers/transactions.js index 9dbf48b..5dc9bc5 100644 --- a/public/src/js/controllers/transactions.js +++ b/public/src/js/controllers/transactions.js @@ -158,7 +158,7 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans if ($routeParams.v_type == '>' || $routeParams.v_type == '<') { $scope.from_vin = $routeParams.v_type == '<' ? true : false; $scope.from_vout = $routeParams.v_type == '>' ? true : false; - $scope.v_index = $routeParams.v_index; + $scope.v_index = parseInt($routeParams.v_index) + 1; $scope.itemsExpanded = true; } diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index 9491078..ca2e867 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -51,8 +51,10 @@ -
{{$root.currency.getConvertion(vin.value)}}