Removed constants from app.js, now takes the values from config.js and makes the injectable.
This commit is contained in:
parent
718fb8d861
commit
b25633eb70
2 changed files with 2 additions and 5 deletions
|
|
@ -37,7 +37,7 @@ angular.module('copayApp.controllers').controller('CreateController',
|
|||
});
|
||||
|
||||
$scope.showNetwork = function(){
|
||||
return $scope.networkUrl != defaults.livenetUrl && $scope.networkUrl != defaults.testnetUrl;
|
||||
return $scope.networkUrl != defaults.network.livenet.url && $scope.networkUrl != defaults.network.testnet.url;
|
||||
};
|
||||
|
||||
$scope.create = function(form) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue