Show black text on pill for unpaid promotion

This commit is contained in:
Ajay
2022-01-06 15:18:40 -05:00
parent c63416fd7b
commit d16a409db2
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,8 @@ class CategoryPillComponent extends React.Component<CategoryPillProps, CategoryP
render(): React.ReactElement {
const style: React.CSSProperties = {
backgroundColor: Config.config.barTypes["preview-" + this.state.segment?.category]?.color,
display: this.state.show ? "flex" : "none"
display: this.state.show ? "flex" : "none",
color: this.state.segment?.category === "sponsor" ? "white" : "black",
}
return (