From eb0c62756bfc4fe09c59e2f419cc0f1436a6d9b8 Mon Sep 17 00:00:00 2001 From: Stedoss <29103029+Stedoss@users.noreply.github.com> Date: Fri, 5 Jul 2024 18:21:35 +0100 Subject: [PATCH] Disable `Open in osu!web` option on user page when `replay_id` is `0` Usually, when the `replay_id` is 0 it means the replay was set offline or not uploaded to osu-web for some reason. Disable the link when this is the case, as it will just take them to a Not Found page. --- nise-frontend/src/app/view-score/view-score.component.html | 2 +- nise-frontend/src/app/view-score/view-score.component.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nise-frontend/src/app/view-score/view-score.component.html b/nise-frontend/src/app/view-score/view-score.component.html index a47c08c..d14601c 100644 --- a/nise-frontend/src/app/view-score/view-score.component.html +++ b/nise-frontend/src/app/view-score/view-score.component.html @@ -45,7 +45,7 @@