- @* Background overlay *@
-
+
+
+
+
+
+
+ @string.Format(Localizer["DeleteFolderDescription"].Value, FolderName)
+
+
+
+
+ @* Option 1: Delete folder, keep items *@
+
- @* Modal panel *@
-
-
-
-
-
-
- @Localizer["DeleteFolderTitle"]
-
-
-
- @string.Format(Localizer["DeleteFolderDescription"].Value, FolderName)
-
-
-
+ @* Option 2: Delete folder and contents - only show if folder has items *@
+ @if (ItemCount > 0)
+ {
+
+
+
@Localizer["DeleteFolderAndContentsTitle"]
+
@string.Format(Localizer["DeleteFolderAndContentsDescription"].Value, ItemCount)
+
+
+ }
-
- @* Option 1: Delete folder, keep items *@
-
-
- @* Option 2: Delete folder and contents - only show if folder has items *@
- @if (ItemCount > 0)
- {
-
- }
-
- @* Cancel button *@
-
-
-
+ @* Cancel button *@
+
-
-}
+
+
@code {
[Inject]
diff --git a/apps/server/AliasVault.Client/Main/Components/Folders/FolderPill.razor b/apps/server/AliasVault.Client/Main/Components/Folders/FolderPill.razor
index b271cb4c4..497a32265 100644
--- a/apps/server/AliasVault.Client/Main/Components/Folders/FolderPill.razor
+++ b/apps/server/AliasVault.Client/Main/Components/Folders/FolderPill.razor
@@ -1,7 +1,7 @@
@using AliasVault.Client.Main.Models
@* FolderPill component - displays a folder as a compact clickable pill *@
-