-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only show “MP” column in Explore page modal if area_type has an MP
This prevents “MP” showing as an always-empty column when you’re exploring by local authority. I implemented this as an `areaTypeHasMP()` method, because `selectableDatasets`` changes when you enter search text, and I don’t want all of the columns to appear/disappear as you search. While I was there, I also took the opportunity to refactor the four separate “Loading datasets…” status messages into a single, centred one.
- Loading branch information
Showing
2 changed files
with
15 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters