From 0ead3ed37a8e17075da72614726ff26d56330ce7 Mon Sep 17 00:00:00 2001 From: Jannik Streidl Date: Thu, 29 Aug 2024 16:30:34 +0200 Subject: [PATCH 1/2] feat: show total number of documents --- src/lib/components/workspace/Documents.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/workspace/Documents.svelte b/src/lib/components/workspace/Documents.svelte index be3be082c..e300d2315 100644 --- a/src/lib/components/workspace/Documents.svelte +++ b/src/lib/components/workspace/Documents.svelte @@ -215,7 +215,10 @@
-
{$i18n.t('Documents')}
+
+ {$i18n.t('Documents')} + ({$documents.length}) +
From 9aa8eff44e0c1ca8881b7d2bea7884cc97f4dd73 Mon Sep 17 00:00:00 2001 From: "Jannik S." <69747628+jannikstdl@users.noreply.github.com> Date: Sat, 7 Sep 2024 15:08:25 +0200 Subject: [PATCH 2/2] styling --- src/lib/components/workspace/Documents.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/components/workspace/Documents.svelte b/src/lib/components/workspace/Documents.svelte index e300d2315..db101dd0a 100644 --- a/src/lib/components/workspace/Documents.svelte +++ b/src/lib/components/workspace/Documents.svelte @@ -215,9 +215,10 @@
-
- {$i18n.t('Documents')} - ({$documents.length}) +
+ {$i18n.t('Documents')} +
+ {$documents.length}