mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #209 from gabrielbazan7/fix/lastState
Save last state only for onboarding views
This commit is contained in:
commit
008eb310e1
|
@ -995,6 +995,8 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
$log.debug('Route change from:', fromState.name || '-', ' to:', toState.name);
|
||||
$log.debug(' toParams:' + JSON.stringify(toParams || {}));
|
||||
$log.debug(' fromParams:' + JSON.stringify(fromParams || {}));
|
||||
|
||||
if (!toState.name.match(/onboarding/)) return;
|
||||
var state = {};
|
||||
state.name = toState.name;
|
||||
state.toParams = toParams;
|
||||
|
|
Loading…
Reference in New Issue