Skip to content
Snippets Groups Projects
Commit ab6f2023 authored by paf's avatar paf
Browse files

fixes some a bug that made it break completely on booklet-error

parent e890c811
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ export class GroupMonitorComponent implements OnInit, OnDestroy {
getSessionColor(session: TestSession): string {
const stripes = (c1, c2) => `repeating-linear-gradient(45deg, ${c1}, ${c1} 10px, ${c2} 10px, ${c2} 20px)`;
const hsl = (h, s, l) => `hsl(${h}, ${s}%, ${l}%)`;
const colorful = this.displayOptions.highlightSpecies;
const colorful = this.displayOptions.highlightSpecies && session.booklet.species;
const h = colorful ? (
session.booklet.species.length *
session.booklet.species.charCodeAt(0) *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment