Fix splash
This commit is contained in:
parent
cb7c0bd19d
commit
3092d0b3a4
2 changed files with 1 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="text-center splash" ng-if="!hasProfile">
|
<div class="text-center splash" ng-if="!index.hasProfile">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="medium-6 large-4 medium-centered small-centered large-centered columns">
|
<div class="medium-6 large-4 medium-centered small-centered large-centered columns">
|
||||||
<div class="p20">
|
<div class="p20">
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,6 @@ angular
|
||||||
templateUrl: 'views/splash/1.html',
|
templateUrl: 'views/splash/1.html',
|
||||||
controller: function($scope, $timeout, $log, profileService, go) {
|
controller: function($scope, $timeout, $log, profileService, go) {
|
||||||
if (profileService.profile) {
|
if (profileService.profile) {
|
||||||
$scope.hasProfile = true;
|
|
||||||
go.walletHome();
|
go.walletHome();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -87,10 +86,6 @@ angular
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.create();
|
$scope.create();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
} else {
|
|
||||||
$timeout(function(){
|
|
||||||
go.walletHome();
|
|
||||||
}, 100);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue