implemented Label component in Installer for consistency and removed redundant logic

This commit is contained in:
Shaun Walker
2021-05-23 11:17:23 -04:00
parent 3f48c1f8fe
commit 63378e1654
8 changed files with 73 additions and 208 deletions

View File

@ -224,8 +224,7 @@ else
DatabaseConfigComponent = builder =>
{
builder.OpenComponent(0, _databaseConfigType);
builder.AddAttribute(1, "IsInstaller", false);
builder.AddComponentReferenceCapture(2, inst => { _databaseConfig = Convert.ChangeType(inst, _databaseConfigType); });
builder.AddComponentReferenceCapture(1, inst => { _databaseConfig = Convert.ChangeType(inst, _databaseConfigType); });
builder.CloseComponent();
};
}