Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed May 13, 2024
1 parent 512b57e commit b85a394
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ public FamilyDescriptor(Family family)

public void RegisterExtensions(IExtensionManager manager)
{
// if (manager.Context.IsFamilyDocument) return;

manager.Register(nameof(FamilySizeTableManager.GetFamilySizeTableManager), context =>
{
var result = FamilySizeTableManager.GetFamilySizeTableManager(context, _family.Id);
return Variants.Single(result);
});
manager.Register(nameof(FamilySizeTableManager.GetFamilySizeTableManager), context => FamilySizeTableManager.GetFamilySizeTableManager(context, _family.Id));
}
}

0 comments on commit b85a394

Please sign in to comment.