From c3ddb8df5682893b900fad5ff4c3bb44ea325fbe Mon Sep 17 00:00:00 2001 From: sbwalker Date: Tue, 20 Aug 2024 16:18:31 -0400 Subject: [PATCH] fix #4536 - deleted modules appearing in Page Management - Modules panel --- Oqtane.Client/Modules/Admin/Pages/Edit.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Modules/Admin/Pages/Edit.razor b/Oqtane.Client/Modules/Admin/Pages/Edit.razor index 80c7e2b46..4be40d327 100644 --- a/Oqtane.Client/Modules/Admin/Pages/Edit.razor +++ b/Oqtane.Client/Modules/Admin/Pages/Edit.razor @@ -419,7 +419,7 @@ // page modules var modules = await ModuleService.GetModulesAsync(PageState.Site.SiteId); - _pageModules = modules.Where(item => item.PageId == _page.PageId).ToList(); + _pageModules = modules.Where(item => item.PageId == _page.PageId && !item.IsDeleted).ToList(); // audit _createdby = _page.CreatedBy;