@punks/backend-entity-manager 0.0.373 → 0.0.374
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -40649,7 +40649,7 @@ const registerHandlebarsHelpers = () => {
|
|
|
40649
40649
|
return;
|
|
40650
40650
|
}
|
|
40651
40651
|
lib.registerHelper("truncate", function (text, maxChars) {
|
|
40652
|
-
if (text
|
|
40652
|
+
if (text?.length > maxChars) {
|
|
40653
40653
|
return text.substring(0, maxChars) + "...";
|
|
40654
40654
|
}
|
|
40655
40655
|
else {
|