Commit 9c33d87f authored by Mark Harding's avatar Mark Harding

(fix): description container trim in SSR throwing error

No related merge requests found
Pipeline #118205228 passed with stages
in 36 minutes and 15 seconds
......@@ -272,7 +272,10 @@
class="mdl-cell mdl-cell--12-col m-media--description"
*ngIf="entity.description"
[innerHtml]="entity.description | safe"
[hidden]="!descriptionContainer.innerText.trim('')"
[hidden]="
descriptionContainer.innerText &&
!descriptionContainer.innerText.trim('')
"
#descriptionContainer
></div>
</div>
......
Please register or to comment