From 69c742547b13640b949782e2e3556006e59d50df Mon Sep 17 00:00:00 2001 From: Chukwuma Nwaugha Date: Wed, 27 Nov 2024 15:12:22 +0000 Subject: [PATCH] refine sidebar item and item action --- app/src/lib/components/SidebarItem.svelte | 2 +- .../lib/components/SidebarItemActions.svelte | 47 ++++++++++--------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/app/src/lib/components/SidebarItem.svelte b/app/src/lib/components/SidebarItem.svelte index 10ce671..bfc0428 100644 --- a/app/src/lib/components/SidebarItem.svelte +++ b/app/src/lib/components/SidebarItem.svelte @@ -30,7 +30,7 @@ - - Open - - - Delete audiocast? - - This action cannot be undone. This will permanently delete your audiocast data. - - - - (openDialog = false)}>Cancel - Continue - - - +{#if openDialog} + + + + Delete audiocast? + + This action cannot be undone. This will permanently delete your audiocast data. + + + + + (openDialog = false)}>Cancel + + Continue + + + + +{/if}