SUPPORT-9634: fixes
This commit is contained in:
parent
4592b8abc1
commit
2fe8777911
1 changed files with 4 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ export class UserManagementService extends Behavior {
|
|||
private rpc: UserApplicationListRpcService;
|
||||
private authService: AuthorizationService;
|
||||
private statusUpdateService: StatusUpdateService;
|
||||
private formJson;
|
||||
private formJson: any;
|
||||
|
||||
initialize() {
|
||||
super.initialize();
|
||||
|
|
@ -62,7 +62,9 @@ export class UserManagementService extends Behavior {
|
|||
|
||||
@Visible()
|
||||
public processDeclaration(): void {
|
||||
if (!this.authService.hasPermission(ErvuPermission.APPROVER) || !this.sendToErvu) {
|
||||
if (!this.authService.hasPermission(ErvuPermission.APPROVER)
|
||||
|| !this.sendToErvu
|
||||
|| !this.formJson) {
|
||||
return;
|
||||
}
|
||||
const kind = this.applicationKind.getValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue