Thanks for your answer, Russian.
I tried something like this, but it didn’t work.
wixData.query("datasetLoggedUser")
.isEmpty("profilePhoto")
.count()
.then( (results) => {
if(results.items.length > 0) {
$w("#text").text = "THERE IS A PHOTO"
} else {
$w("#text").text = "THERE IS NOT A PHOTO"
}
})
Got any idea?