forked from MapComplete/MapComplete
UX: fix #2416, small code cleanup
This commit is contained in:
parent
a4fe5a11ed
commit
77afd8b426
8 changed files with 57 additions and 66 deletions
|
|
@ -54,6 +54,7 @@
|
|||
<div
|
||||
class="my-2 flex flex-col border-b border-gray-500"
|
||||
class:border-interactive={comment.highlighted}
|
||||
class:px-2={comment.highlighted}
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<!-- Action icon, e.g. 'created', 'commented', 'closed' -->
|
||||
|
|
@ -101,7 +102,7 @@
|
|||
{:else}
|
||||
<a href={comment.user_url} target="_blank">{comment.user}</a>
|
||||
{/if}
|
||||
{comment.date}
|
||||
{comment.date ?? new Date().toISOString()}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue