diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js index 1969c3e5e71410acb2cf298e2bd870213c1c0227..125666c4b4d96b6274526d3a3b144d555374461b 100644 --- a/www/js/controllers/wot-controllers.js +++ b/www/js/controllers/wot-controllers.js @@ -351,9 +351,7 @@ function WotLookupController($scope, $state, $timeout, $focus, $ionicPopover, $l // Identity if (!state && item.pubkey) { // identity = self -> open the user wallet - state = csWallet.isUserPubkey(item.pubkey) - ? 'app.view_wallet' - : 'app.wot_identity'; + state = csWallet.isUserPubkey(item.pubkey) ? 'app.view_wallet' : 'app.wot_identity'; } if (state) { diff --git a/www/plugins/es/js/services/settings-services.js b/www/plugins/es/js/services/settings-services.js index 7fad3ccc980048961e84b89eb9d1788416cb2ebd..cf1378959fa9516ba5634185f02feed5bec3a2e8 100644 --- a/www/plugins/es/js/services/settings-services.js +++ b/www/plugins/es/js/services/settings-services.js @@ -74,9 +74,8 @@ angular.module('cesium.es.settings.services', ['cesium.services', 'cesium.es.htt return csSettings.data.plugins && csSettings.data.plugins.es && csSettings.data.plugins.es.enable && - (angular.isDefined(csSettings.data.plugins.es.wot && csSettings.data.plugins.es.wot.enableMixedSearch) - ? csSettings.data.plugins.es.wot.enableMixedSearch - : true); + (angular.isDefined(csSettings.data.plugins.es.wot && csSettings.data.plugins.es.wot.enableMixedSearch) ? + csSettings.data.plugins.es.wot.enableMixedSearch : true); }; function copyUsingSpec(data, copySpec) {