I have an attribute expression that is a conditional statement. In my code below, I need to have 'TBD' shown as not linked text. Currently, when this expression shows up in the popup, 'TBD' is linked to my webmap. Any ideas on how to ensure 'TBD' does not show as linked text?
if ($feature.RESOURCETYPE == "Type 2")
return link
if ($feature.RESOURCETYPE == "Type 3")
return link
else 'TBD'