Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
</Confirm>
{:else}
<Modal bind:show size="s" onSubmit={handleFileToken} title={getModalTitle()}>
<!-- TODO: docs link needed-->
<svelte:fragment slot="description">
{#if fileToken}
{@const formattedDate = cleanFormattedDate(fileToken.$createdAt)}
Edit the expiry of the file token created on <b>{formattedDate}</b>.
{:else}
Create a file token to grant access to a file.
<!-- TODO: @itznotabug, @adityaoberai need documentations link -->
<Link.Anchor href="https://appwrite.com/docs/">Learn more</Link.Anchor>.
<Link.Anchor href="https://appwrite.io/docs/products/storage/file-tokens"
>Learn more</Link.Anchor
>.
{/if}
</svelte:fragment>

Expand Down