From 57a062b2b17c056496e91890e9319899eb6f5cf9 Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 19 Oct 2016 14:21:05 -0300 Subject: [PATCH] fix timeline order --- src/js/controllers/modals/txDetails.js | 2 -- src/js/controllers/modals/txpDetails.js | 2 -- www/views/modals/tx-details.html | 4 ++-- www/views/modals/txp-details.html | 4 ++-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/js/controllers/modals/txDetails.js b/src/js/controllers/modals/txDetails.js index 83908e36e..9d0386fc3 100644 --- a/src/js/controllers/modals/txDetails.js +++ b/src/js/controllers/modals/txDetails.js @@ -83,8 +83,6 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio time: $scope.btx.time, description: actionDescriptions['broadcasted'], }); - - $scope.actionList.reverse(); }; $scope.showCommentPopup = function() { diff --git a/src/js/controllers/modals/txpDetails.js b/src/js/controllers/modals/txpDetails.js index 1cd3fa2b6..d67c2f7a4 100644 --- a/src/js/controllers/modals/txpDetails.js +++ b/src/js/controllers/modals/txpDetails.js @@ -59,8 +59,6 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi by: action.copayerName }); }); - - $scope.actionList.reverse(); }; $scope.$on('accepted', function(event) { diff --git a/www/views/modals/tx-details.html b/www/views/modals/tx-details.html index 3274187a3..f23cd902c 100644 --- a/www/views/modals/tx-details.html +++ b/www/views/modals/tx-details.html @@ -156,10 +156,10 @@
Timeline
-
+
- {{$index + 1}} + {{actionList.length - $index}}
{{a.description}}
diff --git a/www/views/modals/txp-details.html b/www/views/modals/txp-details.html index 6f8573994..254caeaa4 100644 --- a/www/views/modals/txp-details.html +++ b/www/views/modals/txp-details.html @@ -129,11 +129,11 @@
Timeline
-
+
!
-
{{$index + 1}}
+
{{actionList.length - $index}}