From 31b7b5aa0854108efe141c8a5088a76dbfe64eb8 Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Fri, 28 Jan 2022 19:17:40 +0100 Subject: [PATCH] Add name on screen sharing Signed-off-by: Gregoire Parant --- .../Components/Video/ScreenSharingMediaBox.svelte | 12 +++++++++--- front/src/Components/Video/VideoMediaBox.svelte | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/front/src/Components/Video/ScreenSharingMediaBox.svelte b/front/src/Components/Video/ScreenSharingMediaBox.svelte index 022770bb..9b27bc8d 100644 --- a/front/src/Components/Video/ScreenSharingMediaBox.svelte +++ b/front/src/Components/Video/ScreenSharingMediaBox.svelte @@ -30,10 +30,11 @@ {#if $statusStore === "error"}
{/if} - {#if $streamStore === null} - {name} - {:else} + {#if $streamStore !== null} + + {name} +