I have a couple of datasets on a page displaying data. And when there is no data, it shows a message saying nothing is there.
It is supposed to check in the onReady function for the datasets bu they don’t seem to be running. Everything is setup correctly and connected.
It was working fine yesterday on my laptop with Firefox but not working today on Chrome.
This is my code. It is pretty simple and the logs don’t show in the console or in the site monitor which is why I don’t think the onReady functions are running for the datasets.
export function academicData_ready() {
console.log("acadmicData ready");
if ($w("#academicData").getTotalCount() === 0) {
$w("#academicRepeater").collapse();
$w("#noAcademic").show();
}
}
#bug #dataset