Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkkirschner committed May 10, 2024
1 parent 86ca471 commit b7b15dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ class NodeItemDataProvider : ResourceProviderBase
{
protected NodeSearchModel model;
private IconResourceProvider iconProvider;
readonly string[] typesToHideInHomeWorkspaces = { "Core.Input.Input", "Core.Input.Output" };
readonly string[] typesToHideInHomeWorkspaces = {
typeof(Graph.Nodes.CustomNodes.Symbol).ToString(),
typeof(Graph.Nodes.CustomNodes.Output).ToString() };
/// <summary>
/// Constructor
/// </summary>
Expand Down Expand Up @@ -176,7 +178,7 @@ public static string GetFullyQualifiedName(NodeSearchElement element)
? element.SearchKeywords.Where(s => !string.IsNullOrEmpty(s)).Aggregate((x, y) => string.Format("{0}, {1}", x, y))
: string.Empty,
};
if (typesToHideInHomeWorkspaces.Contains(element.FullName))
if (typesToHideInHomeWorkspaces.Contains(element.CreationName))
{
item.hiddenInWorkspaceContext = true;
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit b7b15dd

Please sign in to comment.