From 5f21d987d941e02b6ff6744fb5f16b177bb98fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Sun, 3 Sep 2023 21:27:43 +0200 Subject: [PATCH] Update LargeChatComponent.razor --- .../Client/Features/Chat/LargeChatComponent.razor | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/web/Client/Features/Chat/LargeChatComponent.razor b/src/web/Client/Features/Chat/LargeChatComponent.razor index 510ff8c4..4fc410e1 100644 --- a/src/web/Client/Features/Chat/LargeChatComponent.razor +++ b/src/web/Client/Features/Chat/LargeChatComponent.razor @@ -89,10 +89,13 @@ Delay="500" Selector=".message-sent-successfully-container" /> -
- -
+ @if (LastMessageWasSentSuccessfullyByCurrentUser) + { +
+ +
+ } _lastSuccessfullySentMessageForChat = new(); - private bool LastMessageWasSentSuccessfully + private bool LastMessageWasSentSuccessfullyByCurrentUser { get {