Преглед на файлове

Comment out error message of non-existing Custom Field.

Thanks to xet7 !

Related #5684
Lauri Ojansivu преди 6 месеца
родител
ревизия
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
         // Check if oldCf is undefined or null
         if (!oldCf) {
         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
             return cf;  // Skip this field if oldCf is not found
         }
         }