Previously we were erroneously looping through and filtering icons that had a partial match in the icon name instead of an exact match and were displaying icons like hospital-bill-payment and hospital-bill-checklist when we only wanted to see hospital.
This PR changes the filter to an exact match. Thanks again @sondracue!
How to Test
Check out this branch
Click the "Campus Buildings" category
Note that hospital-bill, hospital-bill-checklist, hospital-bill-payment, hospital-bill-question are now gone from the icon list.
Resolves #54
Previously we were erroneously looping through and filtering icons that had a partial match in the icon name instead of an exact match and were displaying icons like
hospital-bill-payment
andhospital-bill-checklist
when we only wanted to seehospital
.This PR changes the filter to an exact match. Thanks again @sondracue!
How to Test
hospital-bill
,hospital-bill-checklist
,hospital-bill-payment
,hospital-bill-question
are now gone from the icon list.