Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mrin9/RapiPdf
Browse files Browse the repository at this point in the history
  • Loading branch information
mrin9 committed Feb 5, 2020
2 parents 815cc67 + 4bf0538 commit f11e996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf-parts-gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function getSecurityDef(spec, localize) {
// Parameter Table
function getParameterTableDef(parameters, paramType, localize) {
// let filteredParams= parameters ? parameters.filter(param => param.in === paramType):[];
if (parameters.length === 0) {
if (parameters === undefined || parameters.length === 0) {
return;
}
const tableContent = [
Expand Down

0 comments on commit f11e996

Please sign in to comment.