fix button-click redirect to member page

This commit is contained in:
Fulmine 2022-03-19 13:15:16 +01:00
parent 8c2c2747ad
commit a48ce4b526

View File

@ -52,7 +52,7 @@
</Col>
<Col xs={12} lg={3} class="my-2 d-flex">
{#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}
<Button class="w-100" disabled color="primary">View</Button>
{/if}