From 968e1568e2944f21d3acf853a5dce7f732ac3436 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sat, 23 Nov 2024 15:45:02 +0800 Subject: [PATCH] fix qr dialog having no closing animation in old dashboard links page --- .../routes/(app)/dashboard/links/+page.svelte | 84 +++++++++---------- 1 file changed, 40 insertions(+), 44 deletions(-) diff --git a/frontend/src/routes/(app)/dashboard/links/+page.svelte b/frontend/src/routes/(app)/dashboard/links/+page.svelte index bd9c366..c9ddbed 100644 --- a/frontend/src/routes/(app)/dashboard/links/+page.svelte +++ b/frontend/src/routes/(app)/dashboard/links/+page.svelte @@ -332,48 +332,44 @@ {/if} {/await} -{#if $page.state.linkQR} - { - if (!open) { - history.back() - } - }}> - - - Shortener QR - - Use this QR code to share the shortener. - - - - - - - -{/if} + { + if (!open) { + history.back() + } + }}> + + + Shortener QR + + Use this QR code to share the shortener. + + + + + + + -{#if $page.state.projectLinkQR} - { - if (!open) { - history.back() - } - }}> - - - Shortener QR - - Use this QR code to share the shortener. - - - - - - - -{/if} + { + if (!open) { + history.back() + } + }}> + + + Shortener QR + + Use this QR code to share the shortener. + + + + + + +