File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1246,8 +1246,8 @@ <h2>{{"REFRACTOMETER.AUTO_TEST" | translate}}</h2>
12461246 < ion-select (ngModelChange) ="attemptRefractometerUpdate('test_type') " [(ngModel)] ="settings.refractometer_test_type "
12471247 cancelText ="{{'CANCEL'| translate }} " okText ="{{'CHOOSE'| translate }} ">
12481248 < div slot ="label "> {{"REFRACTOMETER.TEST_TYPE" | translate}}</ div >
1249- < ion-select-option value = 0 > {{"REFRACTOMETER.TEST_TYPES.SINGLE" | translate}}</ ion-select-option >
1250- < ion-select-option value = 1 > {{"REFRACTOMETER.TEST_TYPES.AVERAGE" | translate}}</ ion-select-option >
1249+ < ion-select-option [ value] =" TEST_TYPE_ENUM.SINGLE " > {{"REFRACTOMETER.TEST_TYPES.SINGLE" | translate}}</ ion-select-option >
1250+ < ion-select-option [ value] =" TEST_TYPE_ENUM.AVERAGE " > {{"REFRACTOMETER.TEST_TYPES.AVERAGE" | translate}}</ ion-select-option >
12511251 </ ion-select >
12521252 </ ion-item >
12531253 < ion-item lines ="none ">
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ import { FilePicker } from '@capawesome/capacitor-file-picker';
8080import { AndroidNativeCalls } from '../../native/android-native-calls-plugin' ;
8181import { BREW_GRAPH_TYPE } from '../../enums/brews/brewGraphType' ;
8282import { BREW_DISPLAY_IMAGE_TYPE } from '../../enums/brews/brewDisplayImageType' ;
83+ import { TEST_TYPE_ENUM } from '../../enums/settings/refractometer' ;
8384
8485@Component ( {
8586 selector : 'settings' ,
@@ -1562,4 +1563,5 @@ export class SettingsPage {
15621563
15631564 protected readonly BluetoothTypes = BluetoothTypes ;
15641565 protected readonly BREW_DISPLAY_IMAGE_TYPE = BREW_DISPLAY_IMAGE_TYPE ;
1566+ protected readonly TEST_TYPE_ENUM = TEST_TYPE_ENUM ;
15651567}
You can’t perform that action at this time.
0 commit comments