Преглед изворни кода

Comment out error message of non-existing Custom Field.

Thanks to xet7 !

Related #5684
Lauri Ojansivu пре 2 месеци
родитељ
комит
908a5fc60d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -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
         }