@jonatandor35 Actually I donât want it to include a specific object, only check if it is empty or not. So, I guess I cannot use incluse(), am I wrong ?
Not workingâŚ
And as often, when I add a block of code which is not working like this one, all the correct code of my page stop to be executed. I need to remove the failed block of code and everything re-exe correctly. Normal ?
I display items âlivresâ in a repeater, but the initial items are not stored in a reapeater but in the database âlivresâ.
So I have items (books) in my âlivresâ database + I have a reference fields in my âMermberProfileâ database pointed to âlivresâ. And to each current logged in member, I want to display a text message if the reference field âlivresâ is empty in the âMemberProfileâ database.
Where should I paste the console.log exactly in the code ?
The ID alpha-numeric code is the same in MemberProfile and in Members/PrivateMembersData collection (example : 93cf4f5d-a961-4b38-961d-f973b11afbd7) but the name of this ID is different :
â_idâ in MemberProfile
âcontactIdâ in Members/PrivateMembersData collection
So here is my code (import wixUsers from âwix-usersâ; is at the top of the page code) and still, it doesnât work