trim dependencies for Themes (related to #3079)
This commit is contained in:
parent
507f7804c3
commit
c1b1cef590
|
@ -189,9 +189,9 @@ namespace Oqtane.Repository
|
|||
{
|
||||
foreach (var assembly in theme.Dependencies.Replace(".dll", "").Split(',', StringSplitOptions.RemoveEmptyEntries).Reverse())
|
||||
{
|
||||
if (!serverState.Assemblies.Contains(assembly))
|
||||
if (!serverState.Assemblies.Contains(assembly.Trim()))
|
||||
{
|
||||
serverState.Assemblies.Insert(0, assembly);
|
||||
serverState.Assemblies.Insert(0, assembly.Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user