Skip to content

Commit

Permalink
Use const instead of let
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schmid committed Feb 16, 2018
1 parent f07eebb commit f2495a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/lib/js/category-trees/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const loadTrees = (datasetId: DatasetIdType) => {
// Assign default select filter values
for (const concept of Object.values(r.concepts))
for (const table of concept.tables || [])
for (let filter of table.filters || [])
for (const filter of table.filters || [])
if (filter.defaultValue)
filter.value = filter.defaultValue;

Expand Down

0 comments on commit f2495a9

Please sign in to comment.