allow admin to navigate to site settings for deleted site
This commit is contained in:
parent
c55c8bff6e
commit
8edc4fd67a
@ -114,7 +114,7 @@ namespace Oqtane.Pages
|
||||
}
|
||||
|
||||
var site = _sites.InitializeSite(alias);
|
||||
if (site != null && !site.IsDeleted && site.Runtime != "Hybrid")
|
||||
if (site != null && (!site.IsDeleted || url.Contains("admin/site")) && site.Runtime != "Hybrid")
|
||||
{
|
||||
Route route = new Route(url, alias.Path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user