Shellshock UI bugfix

This commit is contained in:
VakarisZ 2021-04-08 17:29:00 +03:00 committed by Mike Salvatore
parent 2792bac5e6
commit f9d8584910
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ class ReportPageComponent extends AuthComponent {
let issueDescriptor = this.IssueDescriptorEnum[issue.type];
let reportFnc = (issue) => {};
if (issue.hasOwnProperty('credential_type')) {
if (issue.hasOwnProperty('credential_type') && issue.credential_type !== null) {
reportFnc = issueDescriptor[this.issueContentTypes.REPORT][issue.credential_type];
} else {
reportFnc = issueDescriptor[this.issueContentTypes.REPORT];