Skip to content

Commit

Permalink
Merge pull request #3087 from sbwalker/dev
Browse files Browse the repository at this point in the history
trim dependencies for Themes (related to #3079)
  • Loading branch information
sbwalker authored Aug 2, 2023
2 parents 507f780 + c1b1cef commit 8c6bca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Oqtane.Server/Repository/ThemeRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ private List<Theme> ProcessThemes(int siteId)
{
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());
}
}
}
Expand Down

0 comments on commit 8c6bca7

Please sign in to comment.