diff --git a/src/core/configuration/Colors.ts b/src/core/configuration/Colors.ts index 747862cff..d09db865e 100644 --- a/src/core/configuration/Colors.ts +++ b/src/core/configuration/Colors.ts @@ -349,7 +349,7 @@ export class ColorAllocator { return this.assigned.get(id)!; } if (this.availableColors.length === 0) { - this.availableColors = this.fallbackColors; + this.availableColors = [...this.fallbackColors]; } const index = 0; const color = this.availableColors.splice(index, 1)[0];