diff --git a/hub/static/js/explore.esm.js b/hub/static/js/explore.esm.js index 63306a537..d183583f5 100644 --- a/hub/static/js/explore.esm.js +++ b/hub/static/js/explore.esm.js @@ -625,6 +625,9 @@ const app = createApp({ }, getDataTypesForCurrentArea(dataset) { return dataset.types.filter(t => t.area_type === this.area_type || t.area_type === null) + }, + areaTypeHasMP(area_type) { + return ( area_type === "WMC" || area_type === "WMC23" ) } } }) diff --git a/hub/templates/hub/includes/add-data-modal.html b/hub/templates/hub/includes/add-data-modal.html index 5d8d627fc..683404033 100644 --- a/hub/templates/hub/includes/add-data-modal.html +++ b/hub/templates/hub/includes/add-data-modal.html @@ -12,46 +12,37 @@