fix smbo worktime caption

This commit is contained in:
Фролов 2021-08-10 17:58:56 +05:00
parent 85d8f8b614
commit ac278edbf3
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
"react_test": "react-scripts test",
"eject": "react-scripts eject"
},
"proxy": "http://192.168.1.70:5000",
"proxy": "http://192.168.1.58:5000",
"eslintConfig": {
"extends": [
"react-app",

View File

@ -40,7 +40,7 @@ export default function SmboPlate({title, state, operatingTime, units, children,
<div className="plate_title">{title}</div>
<div className="plate_state"><SquareIndicator state={state}/></div>
<div className="plate_param_title">наработка: {captionValue}</div>
<div className="plate_param_title">{captionValue??'наработка'} :</div>
<div className="plate_param_value">{operatingTime}</div>
<div className="plate_param_units">{units??'ч'}</div>
</div>

View File

@ -28,7 +28,7 @@ const platesData = [
{label: 'Состояние ПЧ1', value: 1, unit: ''},
{label: 'Состояние ПЧ2', value: 1, unit: ''},
],
captionValue: 'У-У-У-у-у-у',
//captionValue: 'У-У-У-у-у-у',
custom: 'Я не понял про это',
className: 'c1 r1'
},