Icon on profile categories not displaying
Opened this issue · 1 comments
adieyal commented
- Change the icon for a profile category in the Django Admin, e.g. (https://staging.wazimap-ng.openup.org.za/admin/points/profilecategory/41/change/?_changelist_filters=theme_id%3D2)
- Navigate to the correct profile instance, e.g. https://wazimap-ng.africa/
- Find the profile category in the points mapper
- Notice that the chosen icon is not visible.
0.12
The icon should be added here:
wazimap-ng/wazimap_ng/points/views.py
Line 112 in 4835bc9
milafrerichs commented
the API response should look like this:
[
{
"name": "Health",
"id": 43,
"icon": "local_hospital",
"subthemes": [
{
"label": "Pharmacies",
"id": 300,
"count": 1500,
+ "icon": "local_hospital"
"metadata": {
"source": "",
"description": "",
"licence": 1
}
},
]
},