SUPPORT-8732: fix (1)

This commit is contained in:
Рауф Латыпов 2024-12-14 01:38:24 +03:00
parent 03d110f6c4
commit ad5ea5514f

View file

@ -336,7 +336,7 @@ export class ErvuChartV2 extends Control implements Filterable {
datasets.forEach((element, index) => {
let stack: string = element.stack;
if (stack) {
if (stack !== shadowBarStack && stacks.includes(stack)) {
if (stack !== shadowBarStack && !stacks.includes(stack)) {
stacks.push(stack);
}
}