Hi,
If you are talking on handling repeater element based on the data of the item you should use the:
$w(“#myRepeater”).onItemReady( ($w, itemData, index) => {
if (! itemData.document) { // based on your “empty status” you need to change this line.
$w(" #rankingsBtn ").disable();
}
});