diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js index 4dc3b75d08fa16815564a0e4c2f2510163dce17c..6856f87ddd7d41cf5dba2e4c4d2ccbbe21176c72 100644 --- a/www/js/controllers/wot-controllers.js +++ b/www/js/controllers/wot-controllers.js @@ -731,9 +731,9 @@ function WotIdentityAbstractController($scope, $rootScope, $state, $translate, $ $scope.loading = true; UIUtils.loading.show(); } - var options = {cache: false}; // No cache - if ($scope.formData.blockUid) { - options.blockUid = $scope.formData.blockUid; + var options = { + cache: false, // No cache + blockUid: $scope.formData.blockUid || undefined }; return $scope.load($scope.formData.pubkey, $scope.formData.uid, options) .then(UIUtils.loading.hide);