diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/Scheduling.Constraints.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/Scheduling.Constraints.js index 0fba33ff221c784ff6f5f15fee3ca6b4f1c9365a..90920d54478eb08d9762db37464d062de6a3c862 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/Scheduling.Constraints.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Scheduling/Scheduling.Constraints.js @@ -42,6 +42,7 @@ export default (props) => { propertyValue.propertyOrder=7; } if(propertyKey === 'min_calibrator_elevation' || propertyKey === 'min_target_elevation'){ + propertyValue.default = (propertyValue.default * 180) / Math.PI; propertyValue.propertyOrder=8; propertyValue.validationType= 'elevation'; } @@ -55,7 +56,8 @@ export default (props) => { propertyValue.propertyOrder=11; } if(propertyKey === 'sun' || propertyKey === 'moon' || propertyKey === 'jupiter'){ - propertyValue.propertyOrder=12; + propertyValue.default = (propertyValue.default * 180) / Math.PI; + propertyValue.propertyOrder=12; propertyValue.validationType= 'distanceOnSky'; } if(propertyKey === 'avoid_twilight' || propertyKey === 'require_day' || propertyKey === 'require_night'){