feat: only show Upload button on library view
Build & Deploy / build-and-deploy (push) Successful in 47s
Build & Deploy / build-and-deploy (push) Successful in 47s
Changed hideUpload condition from route==='/play' to route!=='/' so the + Upload button only appears on the library page.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<Header onUploadClick={() => uploadTriggered++} hideUpload={route === "/play"} />
|
||||
<Header onUploadClick={() => uploadTriggered++} hideUpload={route !== "/"} />
|
||||
|
||||
<main class="container">
|
||||
{#if route === "/"}
|
||||
|
||||
Reference in New Issue
Block a user