Ensure share widget only appears on the public portal, not the registry