Check if user is a logged in member then check if boolean = true on click

If the button is not in a repeater try this →

let currentItem;
 $w.onReady(function () {
$w("#dataset2").onReady(()=>{
  currentItem = $w("#dataset2").getCurrentItem().aprooveMember.toLocaleString();
  });
 });
 
 //inside the export function reviews_click(event)
  if(wixUsers.currentUser.loggedIn) {
   if(currentItem === "true") {
    $w('#Information').enable();
    $w('#reviews').disable();
    $w('#sectionInformation').collapse();
    $w('#sectionReviews').expand();
    $w('#line569').hide();
    $w('#line570').show();
   } else {
     wixWindow.openLightbox("AccountUnverified");
    }
  } else {
    wixUsers.promptLogin();
   }