From 3465c92a7e9805682ad805d82105c224d68e4e67 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 24 May 2023 13:40:47 +0200 Subject: [PATCH] Fix showing Authorship and CommentComponent for review Show either an `Authorship` component if no review comment is available or a `CommentComponent` if there is a comment Signed-off-by: Sebastian Martinez --- src/components/Comment.svelte | 64 ++++++++--------- src/components/Thread.svelte | 8 ++- src/views/projects/Cob/Revision.svelte | 96 ++++++++++++++++---------- 3 files changed, 96 insertions(+), 72 deletions(-) diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index a4d974ff6..d6d5fb129 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -20,13 +20,11 @@ -
-
-
- -
- {#if showReplyIcon} - - {/if} -
-
-
- {#if action === "create"} -