Skip to content

Commit

Permalink
add sign in button to music page
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Mar 14, 2024
1 parent b862f45 commit d56f958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/nav.ts
Expand Up @@ -84,7 +84,7 @@ export function DynaNavigation(type: "Home" | "Music" | "Settings" | "Hosting" |
.addClass("profile-button")
.setStyle(ButtonStyle.Inline)
:
(type == "Home" && !location.pathname.startsWith("/signin") ?
((type === "Home" || type === "Music") && !location.pathname.startsWith("/signin") ?
LinkButton("Sign in", "/signin")
.addClass("login-button")
: Box())
Expand Down

0 comments on commit d56f958

Please sign in to comment.