Fix lint error

This commit is contained in:
Roman Hotsiy 2016-02-23 13:09:31 +02:00
parent 97e38b3a95
commit 07b1b6325c

View File

@ -43,8 +43,9 @@ export default class ParamsList extends BaseComponent {
let paramsPlaces = ['path', 'query', 'formData', 'header', 'body']; let paramsPlaces = ['path', 'query', 'formData', 'header', 'body'];
let params = []; let params = [];
paramsPlaces.forEach(place => { paramsPlaces.forEach(place => {
if (paramsMap[place] && paramsMap[place].length) if (paramsMap[place] && paramsMap[place].length) {
params.push({place: place, params: paramsMap[place]}); params.push({place: place, params: paramsMap[place]});
}
}); });
this.data.params = params; this.data.params = params;
} }