parent
4414480d6e
commit
1ee13ab73d
@ -78,17 +78,17 @@ export class AccountComponent implements OnInit {
|
|||||||
params: []
|
params: []
|
||||||
}, RpcService.authService, true)
|
}, RpcService.authService, true)
|
||||||
)).data
|
)).data
|
||||||
if (additionalInfo.refSystem?.code.length) {
|
|
||||||
this.messageService.add({
|
|
||||||
severity: 'custom',
|
|
||||||
summary:
|
|
||||||
'Вы уже зарегестрированы в реферальной программе!',
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.route.queryParams.subscribe((params) => {
|
this.route.queryParams.subscribe((params) => {
|
||||||
console.log('####: ', params)
|
console.log('####: ', params)
|
||||||
if (params['refUserId']) {
|
if (params['refUserId']) {
|
||||||
|
if (additionalInfo.refSystem?.code.length) {
|
||||||
|
this.messageService.add({
|
||||||
|
severity: 'custom',
|
||||||
|
summary:
|
||||||
|
'Вы уже зарегестрированы в реферальной программе!',
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.refSystemId = params['refUserId'];
|
this.refSystemId = params['refUserId'];
|
||||||
this.jsonRpcService
|
this.jsonRpcService
|
||||||
.rpc(
|
.rpc(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user