mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
Fix lint error
This commit is contained in:
parent
97e38b3a95
commit
07b1b6325c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user