Skip to content

Commit

Permalink
Merge pull request #1079 from hypar-io/fix-set-new-catalog
Browse files Browse the repository at this point in the history
Fix setting a different catalog
  • Loading branch information
andrewheumann authored Mar 6, 2024
2 parents a5e8195 + e2d778a commit 896616d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Elements.Components/src/ContentCatalogRetrieval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public static class ContentCatalogRetrieval
public static void SetCatalogFilePath(string path)
{
catalogFilePath = path;
// if we already have a catalog loaded, clear it out.
catalog = null;
}

/// <summary>
Expand Down

0 comments on commit 896616d

Please sign in to comment.