diff --git a/app/views/crops/show.html.haml b/app/views/crops/show.html.haml index 7053eb80e..9084bdbef 100644 --- a/app/views/crops/show.html.haml +++ b/app/views/crops/show.html.haml @@ -86,7 +86,7 @@ = link_to crop_plantings_path(@crop), class: 'card-link' do = planting_icon #{@crop.name.capitalize} plantings - %span.badge.badge-primary.badge-pill=@crop.plantings.size + %span.badge.badge-primary.badge-pill=@crop.plantings.active.size .list-group-item.d-flex.justify-content-between.align-items-center = link_to crop_harvests_path(@crop), class: 'card-link' do = harvest_icon