Skip to content

Commit eaf4754

Browse files
committed
Update heatmap-plot.component.ts
1 parent af7d80e commit eaf4754

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/collate/cytoscape-plot/heatmap-plot/heatmap-plot.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class HeatmapPlotComponent {
9696
z.push(d.log2fc);
9797
text.push(`${d.project}`);
9898

99-
if (d.comparison !== lastComparison && project !== lastProject) {
99+
if (d.comparison !== lastComparison || project !== lastProject) {
100100
tickvals.push(tickIndex);
101101
ticktext.push(d.comparison);
102102
lastComparison = d.comparison;

0 commit comments

Comments
 (0)