Skip to content

Commit

Permalink
Changed the labels for LCP/WI/COWI
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Nov 19, 2020
1 parent d8e2353 commit e0dea3b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/manage/Blocks/SiteBlocks/Header/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,26 @@ const View = (props) => {
''
)}
{site.count_plantType_LCP ? (
<p className="info mb-0">{site.count_plantType_LCP} LCPs</p>
<p className="info mb-0">
{site.count_plantType_LCP} Large combustion plant
{site.count_plantType_LCP > 1 ? 's' : ''}
</p>
) : (
''
)}
{site.count_plantType_WI ? (
<p className="info mb-0">{site.count_plantType_WI} Wis</p>
<p className="info mb-0">
{site.count_plantType_WI} Waste incinerator
{site.count_plantType_WI > 1 ? 's' : ''}
</p>
) : (
''
)}
{site.count_plantType_coWI ? (
<p className="info mb-0">{site.count_plantType_coWI} CoWis</p>
<p className="info mb-0">
{site.count_plantType_coWI} Co-waste incinerator
{site.count_plantType_WI > 1 ? 's' : ''}
</p>
) : (
''
)}
Expand Down

0 comments on commit e0dea3b

Please sign in to comment.