поправил проверку на существование в реферальной системе
This commit is contained in:
gofnnp 2022-09-30 13:07:02 +04:00
parent 4414480d6e
commit 1ee13ab73d

View File

@ -78,6 +78,9 @@ export class AccountComponent implements OnInit {
params: [] params: []
}, RpcService.authService, true) }, RpcService.authService, true)
)).data )).data
this.route.queryParams.subscribe((params) => {
console.log('####: ', params)
if (params['refUserId']) {
if (additionalInfo.refSystem?.code.length) { if (additionalInfo.refSystem?.code.length) {
this.messageService.add({ this.messageService.add({
severity: 'custom', severity: 'custom',
@ -86,9 +89,6 @@ export class AccountComponent implements OnInit {
}); });
return; return;
} }
this.route.queryParams.subscribe((params) => {
console.log('####: ', params)
if (params['refUserId']) {
this.refSystemId = params['refUserId']; this.refSystemId = params['refUserId'];
this.jsonRpcService this.jsonRpcService
.rpc( .rpc(