I have this array:
[
{
"active": true,
"name": "agency one"
},
{
"active": false,
"name": "agency two"
},
{
"active": true,
"name": "agency three"
},
{
"active": false,
"name": "agency four"
}
]
And some data like this:
{
"domain": "agency one",
"url": "https://....",
"title": "some title",
"img": "https://.....jpg",
"tag": "some tag",
}
How can I check if agancy is active show data?
Aucun commentaire:
Enregistrer un commentaire