forked from p15670423/monkey
Shellshock UI bugfix
This commit is contained in:
parent
2792bac5e6
commit
f9d8584910
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue