Skip to content

Commit

Permalink
Merge pull request #265 from elvisfernandes/fix264
Browse files Browse the repository at this point in the history
fix: Properly color empty activities with ligth grey on the circular heatmap component
  • Loading branch information
wurstbrot authored Nov 29, 2023
2 parents bff0f82 + 1edbe09 commit c358eb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ export class CircularHeatmapComponent implements OnInit {
if (cntAll !== 0) {
this.ALL_CARD_DATA[index]['Done%'] = cntTrue / cntAll;
} else {
this.ALL_CARD_DATA[index]['Done%'] = 0;
this.ALL_CARD_DATA[index]['Done%'] = -1;
}
var color = d3
.scaleLinear<string, string>()
Expand All @@ -728,7 +728,7 @@ export class CircularHeatmapComponent implements OnInit {
return color(_self.ALL_CARD_DATA[index]['Done%']);
});
}
// this.noActivitytoGrey();
this.noActivitytoGrey();
}

ResetIsImplemented() {
Expand Down

0 comments on commit c358eb9

Please sign in to comment.