Update settings add min<=max validation to ranges, minor text changes
This commit is contained in:
@@ -159,7 +159,7 @@ export const getDefaultState = (): AppState => ({
|
||||
}
|
||||
],
|
||||
steadyStateConfig: { daysOnMedication: '7' }, // kept for backwards compatibility, now sourced from pkParams.advanced
|
||||
therapeuticRange: { min: '', max: '' }, // Empty by default - users should personalize based on their response
|
||||
therapeuticRange: { min: '10', max: '120' }, // min for adults and max for children for maximum range (users should personalize based on their response)
|
||||
doseIncrement: '2.5',
|
||||
uiSettings: {
|
||||
showDayTimeOnXAxis: '24h',
|
||||
@@ -168,7 +168,7 @@ export const getDefaultState = (): AppState => ({
|
||||
yAxisMin: '',
|
||||
yAxisMax: '',
|
||||
simulationDays: '5',
|
||||
displayedDays: '2',
|
||||
displayedDays: '1',
|
||||
showTherapeuticRange: false,
|
||||
steadyStateDaysEnabled: true,
|
||||
stickyChart: false,
|
||||
|
||||
Reference in New Issue
Block a user