Here is an example of fetching data in an array:
[
{
"Id": 111,
"Name": "Test 1",
"Email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8de8e0ece4e1bccde9e2e0ece4e3a3e3e8f9">[email protected]</a>",
},
{
"Id": 133,
"Name": "Test 2",
"Email": "null",
},
{
"Id": 133,
"Name": null,
"Email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c6a3aba7afaaf486a2a9aba7afa8e8a8a3b2">[email protected]</a>",
}
]
This data is fetched from an API.
this.Details = response;
The goal is to replace any instances of null or blank with -
.