Skip to content

Commit c358eb9

Browse files
authored
Merge pull request #265 from elvisfernandes/fix264
fix: Properly color empty activities with ligth grey on the circular heatmap component
2 parents bff0f82 + 1edbe09 commit c358eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/component/circular-heatmap/circular-heatmap.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ export class CircularHeatmapComponent implements OnInit {
712712
if (cntAll !== 0) {
713713
this.ALL_CARD_DATA[index]['Done%'] = cntTrue / cntAll;
714714
} else {
715-
this.ALL_CARD_DATA[index]['Done%'] = 0;
715+
this.ALL_CARD_DATA[index]['Done%'] = -1;
716716
}
717717
var color = d3
718718
.scaleLinear<string, string>()
@@ -728,7 +728,7 @@ export class CircularHeatmapComponent implements OnInit {
728728
return color(_self.ALL_CARD_DATA[index]['Done%']);
729729
});
730730
}
731-
// this.noActivitytoGrey();
731+
this.noActivitytoGrey();
732732
}
733733

734734
ResetIsImplemented() {

0 commit comments

Comments
 (0)