diff --git a/src/cards/repo-card.js b/src/cards/repo-card.js index a306c1d..c4b890f 100644 --- a/src/cards/repo-card.js +++ b/src/cards/repo-card.js @@ -62,7 +62,7 @@ const ICON_SIZE = 16; * @returns {string} Icon with label SVG object. */ const iconWithLabel = (icon, label, testid) => { - if (label <= 0) return ""; + if (typeof label === "number" && label <= 0) return ""; const iconSvg = `