Comment out error message of non-existing Custom Field.

Thanks to xet7 !

Related #5684
This commit is contained in:
Lauri Ojansivu 2025-03-08 19:50:00 +02:00
parent 38e57d3635
commit 908a5fc60d

View file

@ -535,7 +535,7 @@ Cards.helpers({
// Check if oldCf is undefined or null
if (!oldCf) {
console.error(`Custom field with ID ${cf._id} not found.`);
//console.error(`Custom field with ID ${cf._id} not found.`);
return cf; // Skip this field if oldCf is not found
}