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 rpc: UserApplicationListRpcService;
|
||||||
private authService: AuthorizationService;
|
private authService: AuthorizationService;
|
||||||
private statusUpdateService: StatusUpdateService;
|
private statusUpdateService: StatusUpdateService;
|
||||||
private formJson;
|
private formJson: any;
|
||||||
|
|
||||||
initialize() {
|
initialize() {
|
||||||
super.initialize();
|
super.initialize();
|
||||||
|
|
@ -62,7 +62,9 @@ export class UserManagementService extends Behavior {
|
||||||
|
|
||||||
@Visible()
|
@Visible()
|
||||||
public processDeclaration(): void {
|
public processDeclaration(): void {
|
||||||
if (!this.authService.hasPermission(ErvuPermission.APPROVER) || !this.sendToErvu) {
|
if (!this.authService.hasPermission(ErvuPermission.APPROVER)
|
||||||
|
|| !this.sendToErvu
|
||||||
|
|| !this.formJson) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const kind = this.applicationKind.getValue();
|
const kind = this.applicationKind.getValue();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue