The logic here is causing links to be rendered in the `upload` and `createlink` widgets. I believe this needs to be:

```
{if profilePath && addLink !== false}
```