in src/content/components/BugList/columnTransforms.js [99:129]
function renderWhiteboard(bug) {
return (
<ul className={styles.tagList}>
{parseTags(bug)
.map(tag => {
// Filter out tags that aren't added to the config
// if (!tagConfig[tag]) return;
let style = {};
let label = tag;
if (tagConfig[tag]) {
style = tagConfig[tag].style;
label = tagConfig[tag].label;
}
if (tag.startsWith("ni?")) {
style = tagConfig["ni?"].style;
label = tagConfig["ni?"].label.replace("%s", tag.slice(3));
}
return (
<li style={style} key={tag}>
{label}
</li>
);
})
.filter(t => t)}
</ul>
);
}