(SOLVED) Text changes in IF statement not triggering

Here is my code - I am focusing on the list repeater

$w.onReady(function () {
    $w("#dataset1").onReady( () => {

 const name = $w('#text93');
 if (name === "") {
                name.hide();    
        }

    $w("#listRepeater").onItemReady( ($item, itemData, index) => {
            if (itemData.lostOrFound === "lost") {
                console.log("trigger " + itemData.lostOrFound)
                $w('#location').text = "Location lost:"
            }else{
                console.log("trigger " + itemData.lostOrFound)
                $w('#location').text = "Location found:"
            }
 
    });

    });
});

Here is what happens in preview


The if statement triggers correctly in the console


But all entries read “Location Lost” instead of “Location Lost” OR “Location Found”

You need to use the Repeated Item Scope : $item and not $w

$item('#location').text ="Location lost:"

Of course! This is my first time working with repeaters like this, thank you!