bfg-common 1.4.37 → 1.4.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,13 +81,14 @@ watch(
81
81
  const updateSeriesStrokeWidth = (data: number[]): void => {
82
82
  if (!localChart) return
83
83
 
84
- localChart.series.forEach((_: any, key: number) => {
85
- localChart.options.series[key].lineWidth = 1.5
84
+ const newChartOptions = chartOptions.value
85
+ newChartOptions.series.forEach((_: any, key: number) => {
86
+ newChartOptions.series[key].lineWidth = 1.5
86
87
 
87
- if (data.includes(key)) localChart.options.series[key].lineWidth = 3
88
+ if (data.includes(key)) newChartOptions.series[key].lineWidth = 3
88
89
  })
89
90
 
90
- localChart.update(localChart.options)
91
+ chartOptions.value = newChartOptions
91
92
  }
92
93
 
93
94
  watch(
@@ -155,7 +155,7 @@ watch(
155
155
  let newItems = [
156
156
  {
157
157
  id: 'total',
158
- target_object: localization.value.common.total,
158
+ target_object: localization.value.common.total.toLowerCase(),
159
159
  },
160
160
  ]
161
161
  newItems = [...newItems, ...props.currentItems]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.37",
4
+ "version": "1.4.39",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",