Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Admin panel - Add missing detailsUrl for brand in SeNames

KrzysztofPajak47eaefd45b69
diff --git a/src/Web/Grand.Web.Admin/Controllers/CommonController.cs b/src/Web/Grand.Web.Admin/Controllers/CommonController.cs
index 7ea101f14..5b53163e0 100644
--- a/src/Web/Grand.Web.Admin/Controllers/CommonController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/CommonController.cs
@@ -470,6 +470,9 @@ namespace Grand.Web.Admin.Controllers
var entityName = x.EntityName != null ? x.EntityName.ToLowerInvariant() : "";
switch (entityName)
{
+ case "brand":
+ detailsUrl = Url.Action("Edit", "Brand", new { id = x.EntityId, area = Constants.AreaAdmin });
+ break;
case "blogpost":
detailsUrl = Url.Action("Edit", "Blog", new { id = x.EntityId, area = Constants.AreaAdmin });
break;