mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Fix "Return to main page" link not working on wiki after error
This commit is contained in:
parent
f002038137
commit
715b735131
@ -157,7 +157,9 @@ namespace osu.Game.Overlays
|
||||
|
||||
private void onFail(string originalPath)
|
||||
{
|
||||
wikiData.Value = null;
|
||||
path.Value = "error";
|
||||
|
||||
LoadDisplay(articlePage = new WikiArticlePage($@"{api.WebsiteRootUrl}/wiki/",
|
||||
$"Something went wrong when trying to fetch page \"{originalPath}\".\n\n[Return to the main page](Main_Page)."));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user