diff --git a/js/mywallet.js b/js/mywallet.js index a807667..1331d44 100644 --- a/js/mywallet.js +++ b/js/mywallet.js @@ -1314,6 +1314,9 @@ walletApp.controller('walletCtrl', ['$scope', '$http', '$uibModal', '$localStora $scope.isFederation = function (address) { // checking for email type address (e.g.xyz@domain.com) + if (typeof address === 'undefined') { + return true; + } return address.search(/@([\w-]+\.)+[\w-]{2,}$/) > 0; } diff --git a/templetes/modal-set-signer-list.html b/templetes/modal-set-signer-list.html index bd72c66..bc0bdb3 100644 --- a/templetes/modal-set-signer-list.html +++ b/templetes/modal-set-signer-list.html @@ -20,7 +20,7 @@ Invalid Address! - + Invalid Value!