Fix rendering company description.

This commit is contained in:
2019-05-18 17:25:23 +01:00
parent fb9a86f7e4
commit f5db8bbbff
3 changed files with 5 additions and 4 deletions

View File

@@ -433,11 +433,10 @@
</div>
</div>
@* TODO: This is not working with EF, check why *@
@if(Model.Description != null)
@if(ViewBag.CompanyDescription != null)
{
<div class="container-fluid row">
@Html.Raw(Model.Description)
@Html.Raw(ViewBag.CompanyDescription)
</div>
}
</div>