Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

VAR-50 | Add municipality to clear filter list. #924

Merged
merged 3 commits into from
May 2, 2019
Merged

Conversation

midori0507
Copy link

No description provided.

@codecov-io
Copy link

codecov-io commented Apr 30, 2019

Codecov Report

Merging #924 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #924   +/-   ##
========================================
  Coverage    91.61%   91.61%           
========================================
  Files          217      217           
  Lines         2828     2828           
  Branches       496      496           
========================================
  Hits          2591     2591           
  Misses         208      208           
  Partials        29       29
Impacted Files Coverage Δ
app/state/reducers/ui/searchReducer.js 65.38% <ø> (ø) ⬆️
app/shared/resource-map/mapSelector.js 100% <100%> (ø) ⬆️
...p/pages/search/controls/SearchControlsContainer.js 89.65% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2663521...688c494. Read the comment docs.

@@ -19,7 +19,7 @@ const shouldMapFitBoundariesSelector = createSelector(
urlSearchFiltersSelector,
selectedUnitIdSelector,
(filters, unitId) => (
Boolean(find(omit(filters, ['date', 'duration', 'end', 'page', 'start']), filter => filter !== '' && filter !== false)) || Boolean(unitId)
Boolean(find(omit(filters, ['date', 'duration', 'end', 'page', 'start', 'municipality']), filter => filter !== '' && filter !== false)) || Boolean(unitId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line might look better if it gets broken in two

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well linter didnt complain so im just leave it be :D :D

@midori0507 midori0507 merged commit 9efbaff into develop May 2, 2019
@midori0507 midori0507 deleted the feature/VAR-50 branch May 2, 2019 11:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants