@pronto-tools-and-more/custom-js-functions 14.63.0 → 14.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -477,6 +477,9 @@
477
477
  for (const key of keys) {
478
478
  current = current?.[key];
479
479
  }
480
+ if (current === 0) {
481
+ return "0";
482
+ }
480
483
  return current || "";
481
484
  };
482
485
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/custom-js-functions",
3
- "version": "14.63.0",
3
+ "version": "14.65.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "type": "module",
@@ -3,5 +3,8 @@ export const id = (content, ...keys) => {
3
3
  for (const key of keys) {
4
4
  current = current?.[key];
5
5
  }
6
+ if (current === 0) {
7
+ return "0";
8
+ }
6
9
  return current || "";
7
10
  };