mirror of https://github.com/BTCPrivate/copay.git
fix timeline item order
This commit is contained in:
parent
08447a13fd
commit
dcaca6e6bc
|
@ -56,6 +56,10 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
|
|||
by: action.copayerName
|
||||
});
|
||||
});
|
||||
|
||||
$timeout(function() {
|
||||
$scope.actionList.reverse();
|
||||
}, 10);
|
||||
};
|
||||
|
||||
function checkPaypro() {
|
||||
|
|
|
@ -88,6 +88,10 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
|||
time: $scope.btx.time,
|
||||
description: actionDescriptions['broadcasted'],
|
||||
});
|
||||
|
||||
$timeout(function() {
|
||||
$scope.actionList.reverse();
|
||||
}, 10);
|
||||
}
|
||||
|
||||
$scope.showCommentPopup = function() {
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
</div>
|
||||
<div ng-if="actionList[0]">
|
||||
<div class="item item-divider" translate>Timeline</div>
|
||||
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList | orderBy: 'time' :true track by $index">
|
||||
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList track by $index">
|
||||
<div class="timeline-content">
|
||||
<div class="timeline-content__icon">
|
||||
<div class="rejected" ng-if="a.type === 'reject'">!</div>
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
<div ng-if="actionList[0]">
|
||||
<div class="item item-divider" translate>Timeline</div>
|
||||
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList | orderBy: 'time' :true track by $index">
|
||||
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList track by $index">
|
||||
<div class="timeline-content">
|
||||
<div class="timeline-content__icon">
|
||||
<div class="rejected" ng-if="a.type === 'reject'">!</div>
|
||||
|
|
Loading…
Reference in New Issue