Skip to content

Commit

Permalink
Merge branch 'main' into remove_scanner_comp
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 9, 2024
2 parents 281d33c + 3e7e1da commit 5cdf5fd
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 48 deletions.
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"license": "Apache-2.0",
"dependencies": {
"@hotwax/oms-api": "^1.8.1",
"@ionic/core": "^6.7.5",
"@ionic/vue": "^6.7.5",
"@ionic/core": "^7.6.0",
"@ionic/vue": "^7.6.0",
"firebase": "^10.3.1",
"luxon": "^3.3.0",
"pinia": "2.0.36",
Expand Down
3 changes: 1 addition & 2 deletions src/components/LanguageSwitcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{{ $t('Select your preferred language.') }}
</ion-card-content>
<ion-item lines="none">
<ion-label>{{ $t("Choose language") }}</ion-label>
<ion-select interface="popover" :value="currentLocale" @ionChange="setLocale($event.detail.value)">
<ion-select :label="$t('Choose language')" interface="popover" :value="currentLocale" @ionChange="setLocale($event.detail.value)">
<ion-select-option v-for="locale in Object.keys(locales)" :key="locale" :value="locale">{{ locales[locale] }}</ion-select-option>
</ion-select>
</ion-item>
Expand Down
10 changes: 4 additions & 6 deletions src/components/ProductIdentifier.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@
</ion-card-content>

<ion-item>
<ion-label>{{ "Primary Product Identifier" }}</ion-label>
<ion-select interface="popover" :placeholder="'primary identifier'" :value="productIdentificationPref.primaryId" @ionChange="setProductIdentificationPref($event.detail.value, 'primaryId')">
<ion-select :label="$t('Primary')" interface="popover" :placeholder="'primary identifier'" :value="productIdentificationPref.primaryId" @ionChange="setProductIdentificationPref($event.detail.value, 'primaryId')">
<ion-select-option v-for="identification in productIdentificationOptions" :key="identification" :value="identification" >{{ identification }}</ion-select-option>
</ion-select>
</ion-item>
<ion-item>
<ion-label>{{ "Secondary Product Identifier" }}</ion-label>
<ion-select interface="popover" :placeholder="'secondary identifier'" :value="productIdentificationPref.secondaryId" @ionChange="setProductIdentificationPref($event.detail.value, 'secondaryId')">
<ion-item lines="none">
<ion-select :label="$t('Secondary')" interface="popover" :placeholder="'secondary identifier'" :value="productIdentificationPref.secondaryId" @ionChange="setProductIdentificationPref($event.detail.value, 'secondaryId')">
<ion-select-option v-for="identification in productIdentificationOptions" :key="identification" :value="identification" >{{ identification }}</ion-select-option>
<ion-select-option value="">{{ "None" }}</ion-select-option>
</ion-select>
Expand All @@ -28,7 +26,7 @@
</template>

<script setup lang="ts">
import { IonCard, IonCardContent, IonCardHeader, IonCardTitle, IonItem, IonLabel, IonSelect, IonSelectOption } from '@ionic/vue';
import { IonCard, IonCardContent, IonCardHeader, IonCardTitle, IonItem, IonSelect, IonSelectOption } from '@ionic/vue';
import { appContext } from 'src';
import { useProductIdentificationStore } from 'src/store/productIdentification';
import { computed, onMounted } from 'vue';
Expand Down

0 comments on commit 5cdf5fd

Please sign in to comment.