fix: always show project url, if available
This commit is contained in:
parent
4adc61bda9
commit
78cf0c73c8
@ -218,7 +218,7 @@ void ModrinthPage::updateUI()
|
|||||||
{
|
{
|
||||||
QString text = "";
|
QString text = "";
|
||||||
|
|
||||||
if (current.extra.sourceUrl.isEmpty())
|
if (current.extra.projectUrl.isEmpty())
|
||||||
text = current.name;
|
text = current.name;
|
||||||
else
|
else
|
||||||
text = "<a href=\"" + current.extra.projectUrl + "\">" + current.name + "</a>";
|
text = "<a href=\"" + current.extra.projectUrl + "\">" + current.name + "</a>";
|
||||||
|
Loading…
Reference in New Issue
Block a user