From 2a980f9a7e59f58bff99c648f8338add0ac2e903 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Sun, 26 Jun 2022 09:45:55 +0200 Subject: [PATCH] e2e --- server/prisma/dev.db | Bin 155648 -> 163840 bytes webapp/src/routes/note/[id].svelte | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/server/prisma/dev.db b/server/prisma/dev.db index 7815d9bd14f8878a95d6faf2b129237f3f53f4fa..a7ef6ab69e2104a396c18617559a02b73a4aa63a 100644 GIT binary patch delta 6432 zcmZ{JISa*XcHVrS873ZVoF+vu1``MwkcsvU7lW3oUAkJXmaEFz_kCA$XX4V0%@k8O zr3<%1AR%2k{{hz~KO(j9ogWYtDkRW>_dMr3i+=Tg{_t17`uX4f=}-UiCqMbgFaGY& zfBC~-{_d~-Vfc6d;ZJ`1eejcC{N|6wU;Owdzx~~>|MAEF@h|iL{-d9MAO7e6`kVj$ zDgWRve*RCt`Pr}hAAkN&zx#FZ^Z)c`fAGs6k`~+GF=?USU(K@aJ<>xZJf`69-~RSb z`5*t|U;p?w|Le!U`Qcyx`Sbhlr%biFk|_+%zbrF3T4$M5%gm6u=DW*b7 z;4H|MsZCndPza}e8VIgIs}(l}_0COj1^9{|diVV%-3S4~hknh3GRb<&T#(NU_fePT|B@g5R^z&b9NB`#;L z7L_IV;Da5=UtF;4g`?Uuw?8#Pyt-DNaIb>&9TbZEK0;W!$RaVBnBr69{W|N4DdY)I z8iV~*6OC?XRS)YVZYRrJwx(B9rzSly|PF+GzQX2i$fIpCb+;A?2y|Q9M}pDuE_C> zG{%#o-|RYw-DqBL3B`w6z{99pEo)n$*u(RLL`}I#-W$U%<%&6#czLbA#lj-;?K7Fc z@d;bxDgnSzQu5Adpw;2Ex;BywI&tYv$Yhsg>6~cEEI{<6Ow@t*PYi~(zH*OoS84y^ zR6~PThd1k4n=z8YRWy)vk|u;W8V*t-oDNVpXbPt-v9*X1jtahfg3yuYO%w>nC%2)N zDj9Kp%s(znK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p/src/routes/note/[id].svelte index 60c90cd..d45d816 100644 --- a/webapp/src/routes/note/[id].svelte +++ b/webapp/src/routes/note/[id].svelte @@ -35,6 +35,7 @@ import decrypt from '$lib/crypto/decrypt'; import MarkdownRenderer from '$lib/components/MarkdownRenderer.svelte'; import LogoMarkdown from 'svelte-icons/io/IoLogoMarkdown.svelte'; + import IconEncrypted from 'svelte-icons/md/MdLockOutline.svelte'; export let note: EncryptedNote; let plaintext: string; @@ -50,7 +51,10 @@

- Shared ?? days ago + + + e2e encrypted | Shared ?? days ago +