From 510332f444041ec81cd0c480d272c560e5024685 Mon Sep 17 00:00:00 2001 From: Dmytro Trotsko Date: Fri, 1 Mar 2024 13:26:02 +0200 Subject: [PATCH] Made Hospital Admissions sensor work as Doctor Visits and Deaths. Removed annotation for Hosptal Admissions sensor when we don't have recent data for choosen date --- src/blocks/NoRecentDataWarning.svelte | 10 +++----- src/modes/summary/Overview.svelte | 36 ++++----------------------- 2 files changed, 9 insertions(+), 37 deletions(-) diff --git a/src/blocks/NoRecentDataWarning.svelte b/src/blocks/NoRecentDataWarning.svelte index 730fad0d..1d9302c6 100644 --- a/src/blocks/NoRecentDataWarning.svelte +++ b/src/blocks/NoRecentDataWarning.svelte @@ -1,5 +1,4 @@ - - - {#if showWarning} {/if} - -

@@ -115,7 +94,7 @@ {#await hospitalTrend} {:then d} - + {/await}

@@ -158,10 +137,7 @@ {#await hospitalTrend} {:then d} - + {/await}
Relative change to 7 days ago
@@ -177,5 +153,3 @@
Relative change to 7 days ago
- -