after upgrade problems "bgColor"
-
Please can someone explain how I in the mongo database "objects"
must proceed to find the problem?is there a category without bgColor?
Can I just delete the category when I find them?
I think it best?or can I intercept the code "zero"? probably not ..
-
I'm doing a git commit.
I have a request if else in the helpers.js
if (category.bgColor) { style.push ('background-color:' + category.bgColor); } else { console.log ('no bgColor'); }
that will not do.
but perhaps a negative query
if (! category.bgColor || category.bgColor == NULL) { // Console.log ('no bgColor'); style.push ('background-color: #fff'); } else { style.push ('background-color:' + category.bgColor); }
I tried only the first variant.
Copyright © 2024 NodeBB | Contributors