You can try the following steps and see if it works:
Create a flag property and assigned it a default value when the section is loaded
Configure above-created property in a “When” rule to hide/unhide the link
Have an action set “Run Data Transform” to update the value “OnClick” of the icon such that “When” condition hide/unhide the link/desired portion in the UI