I'm struggling to validate an empty string retrieved from a server
It's usually pretty straight forward it's just not working
<div class="ui-g-2 info-txt"
*ngIf="appointment.Notes !==null ||
appointment.Notes !== ''">
<i class="fa fa-commenting-o" aria-hidden="true"</i>
</div>
<div class="ui-g-5 info-txt"
*ngIf="appointment.Notes !==null ||
appointment.Notes !== ''">
*emphasized text*{{appointment.Notes}}
</div>
<div class="ui-g-7 info-txt"
*ngIf="appointment.Notes === null ||
appointment.Notes === ''"
style="padding-top: 0;">
no hay notas disponibles
</div>
So I'm checking for a null or string with nothing in it, the problem is its still showing the icon and the empty string
When there is a message inside the no hay..... doesnt show so its working perfectly on that side
Any help greatly appreciated been stuck on this for ages.
Im sure its a obvious I just cant see it