From 07b1b6325c84fa8e345b00f8313fed32b0df91d6 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 23 Feb 2016 13:09:31 +0200 Subject: [PATCH] Fix lint error --- lib/components/ParamsList/params-list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/ParamsList/params-list.js b/lib/components/ParamsList/params-list.js index 6a369b2e..1a053b5b 100644 --- a/lib/components/ParamsList/params-list.js +++ b/lib/components/ParamsList/params-list.js @@ -43,8 +43,9 @@ export default class ParamsList extends BaseComponent { let paramsPlaces = ['path', 'query', 'formData', 'header', 'body']; let params = []; paramsPlaces.forEach(place => { - if (paramsMap[place] && paramsMap[place].length) + if (paramsMap[place] && paramsMap[place].length) { params.push({place: place, params: paramsMap[place]}); + } }); this.data.params = params; }