fix(web): revert descriptions (#6582)

fix: revert descriptions
This commit is contained in:
martin 2024-01-23 03:53:56 +01:00 committed by GitHub
parent 773d093ace
commit 234a95960b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 14 deletions

View file

@ -214,7 +214,7 @@
</section>
{/if}
{#if isOwner || description !== ''}
{#if isOwner}
<section class="px-4 mt-10">
{#key asset.id}
<textarea
@ -233,6 +233,8 @@
/>
{/key}
</section>
{:else if description}
<p class="break-words whitespace-pre-line w-full text-black dark:text-white text-base">{description}</p>
{/if}
{#if !api.isSharedLink && people.length > 0}