OpenUpSA/wazimap-ng

Make the visible_tooltip_attribute to a list

Opened this issue · 0 comments

Make the field visible_tooltip_attributes to a list

class ProfileCategory(BaseModel):
-    visible_tooltip_attributes = JSONField(default=dict, null=True, blank=True)
+   visible_tooltip_attributes = JSONField(default=list, null=True, blank=True)

https://github.com/OpenUpSA/wazimap-ng/blob/staging/wazimap_ng/points/models.py#L77