remove todo that has been completed

This commit is contained in:
Laura Klünder 2024-03-31 18:55:06 +02:00
parent 7fa75e1617
commit 3526658099

View file

@ -423,7 +423,6 @@ editor = {
existing_data = JSON.parse(data_field.val()); existing_data = JSON.parse(data_field.val());
} }
if (existing_data?.wifi?.length || existing_data?.ibeacon?.length > 0) { if (existing_data?.wifi?.length || existing_data?.ibeacon?.length > 0) {
// todo: fix this to work with ibeacons
collector.removeClass('empty').addClass('done'); collector.removeClass('empty').addClass('done');
collector.find('.wifi-count').text(existing_data?.wifi?.length); collector.find('.wifi-count').text(existing_data?.wifi?.length);
collector.find('.ibeacon-count').text(existing_data?.ibeacon?.length); collector.find('.ibeacon-count').text(existing_data?.ibeacon?.length);