diff --git a/Oqtane.Client/Modules/Admin/RecycleBin/Index.razor b/Oqtane.Client/Modules/Admin/RecycleBin/Index.razor
index c26f852b..7c30c7a1 100644
--- a/Oqtane.Client/Modules/Admin/RecycleBin/Index.razor
+++ b/Oqtane.Client/Modules/Admin/RecycleBin/Index.razor
@@ -31,9 +31,12 @@
@context.DeletedOn |
-
+ @if (_pages.Any())
+ {
+
+ }
}
@@ -62,9 +65,12 @@
@context.DeletedOn |
-
+ @if (_modules.Any())
+ {
+
+ }
}
@@ -76,22 +82,6 @@
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Admin;
- protected string IsDeleteAllPagesVisible
- {
- get
- {
- return _pages.Count == 0 ? "hidden" : "visible";
- }
- }
-
- protected string IsDeleteAllModulesVisible
- {
- get {
- return _modules.Count == 0 ? "hidden" : "visible" ;
- }
- }
-
-
protected override async Task OnInitializedAsync()
{
try