@saltcorn/badges
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "@saltcorn/badges", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Display badges from relationships", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -184,3 +184,3 @@ const { span } = require("@saltcorn/markup/tags"); | ||
return rows.map((row) => ({ | ||
html: row._badges | ||
html: (row._badges || []) | ||
.map((b) => span({ class: "badge badge-secondary" }, b)) | ||
@@ -187,0 +187,0 @@ .join(" "), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14475