Skip to content

Hide profile link when there is no URL

Afonso Cerejeira requested to merge hide-profile-link-for-empty-url into main

To prevent the bug described in T31606 we add a conditional check for the URL property before rendering the profile link.

You can check it out on the test instance, if you click on my profile, you'll notice that it will take a while before displaying the Touch profile link - that is the time of performing the request and waiting for the response. Previously we were rendering the URL even before we got a response from the API, so sometimes the link would be wrong.

Merge request reports