Label305/Auja

Planet icon shows up when supplying null

Closed this issue · 2 comments

When supplying null as icon, a planet icon shows up instead of no icon.

{
  "type": "link",
  "order": 0,
  "link": {
    "text": "Add",
    "target": "http:\/\/localhost:8000\/admin\/pages\/create",
    "icon": null
  }
}

This results in:

capture

When supplying an icon that doesn't exist ("icon": "this_does_not_exist"), no icon shows up (like it should).

@JBlaak

Can't reproduce this on dev

Seems to have been fixed. (Probably with icon renaming).