👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2019-10-04 12:36:42 +02:00
parent 6173149646
commit 5829ed2e3d

View file

@ -145,7 +145,7 @@ export default mixins(genericHelpers)
const newParameterValue: INodeParameters = {};
for (const optionParameter of option.values) {
if (optionParameter.type === 'fixedCollection' && optionParameter.typeOptions.multipleValues === true) {
if (optionParameter.type === 'fixedCollection' && optionParameter.typeOptions !== undefined && optionParameter.typeOptions.multipleValues === true) {
newParameterValue[optionParameter.name] = {};
} else if (optionParameter.typeOptions !== undefined && optionParameter.typeOptions.multipleValues === true) {
// Multiple values are allowed so append option to array