Skip to content

Commit

Permalink
Fix DatabaseProvider HasConnectionString
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard committed Oct 6, 2017
1 parent 850ebf0 commit 52c8937
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
}
</div>

@if (Model.ConnectionStringPreset || (! string.IsNullOrEmpty(Model.DatabaseProvider) && !Model.DatabaseProviders.SingleOrDefault(dp => dp.Name == Model.DatabaseProvider).HasConnectionString))
@if (Model.ConnectionStringPreset || (! string.IsNullOrEmpty(Model.DatabaseProvider) && !Model.DatabaseProviders.SingleOrDefault(dp => dp.Value == Model.DatabaseProvider).HasConnectionString))
{
<input asp-for="ConnectionString" type="hidden" />
}
Expand Down

0 comments on commit 52c8937

Please sign in to comment.