I noticed with the original item-links code, items outside of the current view/scope would still be linked and have dropdowns but just return "not here" messages when clicked. This will disable the link on items that are no longer in scope so they display as regular text, and re-enable the link when they are within scope again
I noticed with the original item-links code, items outside of the current view/scope would still be linked and have dropdowns but just return "not here" messages when clicked. This will disable the link on items that are no longer in scope so they display as regular text, and re-enable the link when they are within scope again