mirror of https://github.com/BTCPrivate/copay.git
add "newTx" flag"
This commit is contained in:
parent
01ba385ca8
commit
ae400dbe27
|
@ -212,7 +212,7 @@
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
|
|
||||||
<div ng-if="index.txHistory[0] && index.updatingTxHistory[index.walletId]" class="row collapse last-transactions-content animated fadeInDown">
|
<div ng-if="index.txHistory[0] && index.updatingTxHistory[index.walletId] && index.newTx" class="row collapse last-transactions-content animated fadeInDown">
|
||||||
<div class="large-6 medium-6 small-6 columns size-14">
|
<div class="large-6 medium-6 small-6 columns size-14">
|
||||||
<div class="m10r left">
|
<div class="m10r left">
|
||||||
<img src="img/icon-new.svg" width="40">
|
<img src="img/icon-new.svg" width="40">
|
||||||
|
|
|
@ -948,6 +948,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
if (err)
|
if (err)
|
||||||
self.txHistoryError = true;
|
self.txHistoryError = true;
|
||||||
|
|
||||||
|
$timeout(function() {
|
||||||
|
self.newTx = false
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
$rootScope.$apply();
|
$rootScope.$apply();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -1276,6 +1280,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
});
|
});
|
||||||
|
|
||||||
$rootScope.$on('NewIncomingTx', function() {
|
$rootScope.$on('NewIncomingTx', function() {
|
||||||
|
self.newTx = true;
|
||||||
self.updateAll({
|
self.updateAll({
|
||||||
walletStatus: null,
|
walletStatus: null,
|
||||||
untilItChanges: true,
|
untilItChanges: true,
|
||||||
|
@ -1308,6 +1313,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
|
|
||||||
|
|
||||||
$rootScope.$on('NewOutgoingTx', function() {
|
$rootScope.$on('NewOutgoingTx', function() {
|
||||||
|
self.newTx = true;
|
||||||
self.updateAll({
|
self.updateAll({
|
||||||
walletStatus: null,
|
walletStatus: null,
|
||||||
untilItChanges: true,
|
untilItChanges: true,
|
||||||
|
|
Loading…
Reference in New Issue