From 35b06b4fc851192916e000ad5e7e2f458846448c Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 28 Aug 2022 00:08:07 +0300 Subject: working on thread uploading --- src/components/Comment.svelte | 24 ++++++++++++------------ src/components/Thread.svelte | 16 ++++++++-------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'src/components') diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index 09469cc..bc53f4d 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -8,24 +8,24 @@
- {comment.id} + {comment.id} at {formatTime(comment.creationDate)}
- -> + -> {comment.commentCreator}
- {#if comment.imageId!= null && comment.imageId != undefined} - {#if comment.fileType == 'image'} - - {comment.imageId}
-
- {:else if comment.fileType == 'video'} - - {/if} + {#if comment.imageId!= null && comment.imageId != undefined} + {#if comment.fileType == 'image'} + + {comment.imageId}
+
+ {:else if comment.fileType == 'video'} + {/if} + {/if}

{@html comment.commentText}

diff --git a/src/components/Thread.svelte b/src/components/Thread.svelte index 8e07c9f..fee1a78 100644 --- a/src/components/Thread.svelte +++ b/src/components/Thread.svelte @@ -21,10 +21,10 @@ {#if thread.id != "rules"}
- {thread.id} + {thread.id} at {formatTime(thread.creationDate)}
- -> + -> {thread.threadCreator}
@@ -33,8 +33,8 @@ {#each replies as id} >>{id}  {/each} -

- {/if} +

+ {/if} @@ -60,15 +60,15 @@ {/if} -- cgit v1.2.3