Commit f35800e5 authored by Andrew Hrdy's avatar Andrew Hrdy

Copied relevant changes from commit 028d478f which was never merged from an...

Copied relevant changes from commit 028d478f which was never merged from an old branch. (Did not merge because half the commit was irrelevant).
parent 45e64084
......@@ -12,7 +12,7 @@ const CardContainer = ({searchTerm, campusRegion, facilities}) => {
const lSearchTerm = searchTerm.toLowerCase();
const facilityName = facility.facility_name.toLowerCase();
const facilityLocation = facility.facility_location.building.toLowerCase();
const facilityCategory = facility.facility_category.name.toLowerCase();
const facilityCategory = facility.facility_category.name.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
const facilityTags = facility.facility_product_tags;
facilityTags.forEach((tag) => {
......
......@@ -41,6 +41,7 @@
}
.search-bar-campus-control {
margin-right: 8px !important;
width: 150px;
justify-content: center;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment