Commit 563fbef8 authored by Георгий's avatar Георгий
Browse files

fix mistake3

parent 157333b9
This diff is collapsed.
......@@ -409,7 +409,7 @@ export class IndicatorGrad extends Widget implements SingleData {
this.viewSettings[EViewOption.MinMax] == EMinMax.Max
? this.dimension[maxIterator]
: this.dimension[minIterator];
let formVal = +this.getFormattedValue(val).replace(' ', '');
let formVal = +this.getFormattedValue(val).replace(/\s/g, '');
this.parseJson(
this.viewSettings[EViewOption.EnableDigitCapacity] ? formVal : val,
......@@ -487,7 +487,7 @@ export class IndicatorGrad extends Widget implements SingleData {
this.viewSettings[EViewOption.MinMax] == EMinMax.Max
? this.dimension[maxIterator]
: this.dimension[minIterator];
let formVal = +this.getFormattedValue(val).replace(' ', '');
let formVal = +this.getFormattedValue(val).replace(/\s/g, '');
this.parseJson(
this.viewSettings[EViewOption.EnableDigitCapacity]
......
......@@ -254,7 +254,7 @@ export const createViewSettings: CreateViewSettings<DataSettings> = ({
};
}),
}),
textArea({
input({
key: EViewOption.CustomFormats,
label: {
ru: 'Цветовая дифференциация по интервалу',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment