fix button-click redirect to member page
This commit is contained in:
parent
8c2c2747ad
commit
a48ce4b526
@ -52,7 +52,7 @@
|
|||||||
</Col>
|
</Col>
|
||||||
<Col xs={12} lg={3} class="my-2 d-flex">
|
<Col xs={12} lg={3} class="my-2 d-flex">
|
||||||
{#if memberInput !== ""}
|
{#if memberInput !== ""}
|
||||||
<Link style="text-decoration: none; flex: 1 0 auto" to="/profile/s/{memberInput.toLowerCase().trim()}"><Button class="w-100" color="primary">View</Button></Link>
|
<Link style="text-decoration: none; flex: 1 0 auto" to="/profile/m/{memberInput.toLowerCase().trim()}"><Button class="w-100" color="primary">View</Button></Link>
|
||||||
{:else}
|
{:else}
|
||||||
<Button class="w-100" disabled color="primary">View</Button>
|
<Button class="w-100" disabled color="primary">View</Button>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user