vmui: update dependencies npm (#7209)

### Describe Your Changes

Related issue: #7142

### Checklist

The following checks are **mandatory**:

- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
This commit is contained in:
Yury Molodov 2024-10-11 13:46:15 +02:00 committed by GitHub
parent 6a738e0b41
commit c7771b1866
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1091 additions and 1059 deletions

File diff suppressed because it is too large Load Diff

View File

@ -137,14 +137,14 @@ export const barDisp = (stroke: Stroke, fill: Fill): Disp => {
export const delSeries = (u: uPlot) => {
for (let i = u.series.length - 1; i >= 0; i--) {
u.delSeries(i);
i && u.delSeries(i);
}
};
export const addSeries = (u: uPlot, series: uPlotSeries[], spanGaps = false) => {
series.forEach((s) => {
series.forEach((s,i) => {
if (s.label) s.spanGaps = spanGaps;
u.addSeries(s);
i && u.addSeries(s);
});
};