feat: use notification date, close #59
This commit is contained in:
1 parent
0c55e87b93
commit
2902f30327
2 files changed
+20
-7
No files matched your search
@@ -18,7 +18,7 @@
|
||||
|
||||
export let community: Community | undefined = undefined
|
||||
export let user: Person | undefined = undefined
|
||||
export let published: Date
|
||||
export let published: Date | undefined = undefined
|
||||
export let title: string | undefined = undefined
|
||||
export let id: number | undefined = undefined
|
||||
|
||||
@@ -56,7 +56,9 @@
|
||||
<UserLink avatarSize={20} {user} avatar={!community} />
|
||||
</div>
|
||||
{/if}
|
||||
<RelativeDate date={published} />
|
||||
{#if published}
|
||||
<RelativeDate date={published} />
|
||||
{/if}
|
||||
{#if upvotes != undefined && downvotes != undefined}
|
||||
<span>•</span>
|
||||
<span>
|
||||
|
||||
Reference in new issue
Block a user