fix(dashboard): add viewing/sorting by creation date on public page

This commit is contained in:
Jake Fulmine 2023-06-03 13:36:11 +02:00
parent f112f45e77
commit 434ed3e50c
2 changed files with 1 additions and 3 deletions

View File

@ -85,7 +85,7 @@
<b>Display Name:</b> <span bind:this={displayNameElement}><AwaitHtml htmlPromise={htmlDisplayNamePromise} /></span> <b>Display Name:</b> <span bind:this={displayNameElement}><AwaitHtml htmlPromise={htmlDisplayNamePromise} /></span>
</Col> </Col>
{/if} {/if}
{#if group.created && !isPublic} {#if group.created}
<Col xs={12} lg={4} class="mb-2"> <Col xs={12} lg={4} class="mb-2">
<b>Created:</b> {created} <b>Created:</b> {created}
</Col> </Col>

View File

@ -143,9 +143,7 @@ function resetPage() {
<option value="birthday">Birthday</option> <option value="birthday">Birthday</option>
{/if} {/if}
<option value="color">Color</option> <option value="color">Color</option>
{#if !pageOptions.isPublic}
<option value="created">Creation date</option> <option value="created">Creation date</option>
{/if}
<option value="none">API response order</option> <option value="none">API response order</option>
</Input> </Input>
</InputGroup> </InputGroup>