fix: entering an id to view a public profile sent you to the wrong url
This commit is contained in:
parent
3bd2d15e2e
commit
a9ec7ee58c
@ -21,7 +21,7 @@
|
|||||||
Submit a <b>system ID</b> to view that system's profile.
|
Submit a <b>system ID</b> to view that system's profile.
|
||||||
<Row>
|
<Row>
|
||||||
<Col xs={12} lg={9} class="my-2">
|
<Col xs={12} lg={9} class="my-2">
|
||||||
<Input on:keyup={(event) => {if (event.key === "Enter" && sysInput !== "") navigate(`/public/s/${sysInput.toLowerCase().trim()}`)}} bind:value={sysInput} />
|
<Input on:keyup={(event) => {if (event.key === "Enter" && sysInput !== "") navigate(`/profile/s/${sysInput.toLowerCase().trim()}`)}} bind:value={sysInput} />
|
||||||
</Col>
|
</Col>
|
||||||
<Col xs={12} lg={3} class="my-2 d-flex">
|
<Col xs={12} lg={3} class="my-2 d-flex">
|
||||||
{#if sysInput !== ""}
|
{#if sysInput !== ""}
|
||||||
|
Loading…
Reference in New Issue
Block a user