This text box/container doesn't hide when there is no data from the specific query and instead throws and error because there is no data. The no data part is expected, but trying to figure out how to hide when this is the case.
Thanks!
This text box/container doesn't hide when there is no data from the specific query and instead throws and error because there is no data. The no data part is expected, but trying to figure out how to hide when this is the case.
Thanks!
Try {{getContactFromHubSpot.data === undefined || getContactFromHubSpot.data.length === 0}}
Try:
{{getContactFromHubSpot.data.id === undefined || getContactFromHubSpot.data.id === null}}
That is if the data result from getContactFromHubSpot.data is one array only....assuming that it is...
Ha! We basically got to the same thing! Thanks for pointing me in the right direction. I went a bit more specific with this since there's only ever one object in the array:
{{getContactFromHubspot.data.id[0] === undefined || getContactFromHubspot.data.id[0] === null}}