Skip to content
Snippets Groups Projects
Commit 24800cbb authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Add payment info, on record view

[enh] Crodf: Load the TX progress (TX sum)
parent 173d91c8
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -365,7 +365,8 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
// Link management
////////////////////////////////////////
$scope.openLink = function($event, uri, options) {
// WARN: publish to root scope, to make sure popover (with new scope) can use it
$rootScope.openLink = function($event, uri, options) {
$event.stopPropagation();
$event.preventDefault();
......@@ -411,7 +412,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
$state.go('app.wot_identity',
angular.merge({
pubkey: res.pubkey,
action: res.params && res.params.amount ? 'transfer' : undefined
action: res.params && (res.params.amount || res.params.comment) ? 'transfer' : undefined
}, res.params),
{reload: true});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment