import('../components/LocationSelectorDialog.vue')),
- 'PriceInputRow': defineAsyncComponent(() => import('../components/PriceInputRow.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue')),
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'BarcodeScannerDialog': defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue')),
- 'BarcodeManualInputDialog': defineAsyncComponent(() => import('../components/BarcodeManualInputDialog.vue')),
- 'UserRecentProofsDialog': defineAsyncComponent(() => import('../components/UserRecentProofsDialog.vue')),
+ LocationSelectorDialog: defineAsyncComponent(() => import('../components/LocationSelectorDialog.vue')),
+ PriceInputRow: defineAsyncComponent(() => import('../components/PriceInputRow.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ BarcodeScannerDialog: defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue')),
+ BarcodeManualInputDialog: defineAsyncComponent(() => import('../components/BarcodeManualInputDialog.vue')),
+ UserRecentProofsDialog: defineAsyncComponent(() => import('../components/UserRecentProofsDialog.vue')),
},
data() {
return {
diff --git a/src/views/AddPriceSingle.vue b/src/views/AddPriceSingle.vue
index cfa5817f92c..7b562f9e9d7 100644
--- a/src/views/AddPriceSingle.vue
+++ b/src/views/AddPriceSingle.vue
@@ -76,6 +76,7 @@
import('../components/PriceInputRow.vue')),
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'BarcodeScannerDialog': defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue')),
- 'BarcodeManualInputDialog': defineAsyncComponent(() => import('../components/BarcodeManualInputDialog.vue')),
- 'LocationSelectorDialog': defineAsyncComponent(() => import('../components/LocationSelectorDialog.vue')),
- 'UserRecentProofsDialog': defineAsyncComponent(() => import('../components/UserRecentProofsDialog.vue')),
+ PriceInputRow: defineAsyncComponent(() => import('../components/PriceInputRow.vue')),
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ BarcodeScannerDialog: defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue')),
+ BarcodeManualInputDialog: defineAsyncComponent(() => import('../components/BarcodeManualInputDialog.vue')),
+ LocationSelectorDialog: defineAsyncComponent(() => import('../components/LocationSelectorDialog.vue')),
+ UserRecentProofsDialog: defineAsyncComponent(() => import('../components/UserRecentProofsDialog.vue')),
},
data() {
return {
diff --git a/src/views/BrandDetail.vue b/src/views/BrandDetail.vue
index 31d9ad834d5..bc19d4dbfbb 100644
--- a/src/views/BrandDetail.vue
+++ b/src/views/BrandDetail.vue
@@ -52,11 +52,11 @@ import api from '../services/api'
export default {
components: {
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue'))
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue'))
},
data() {
return {
diff --git a/src/views/CategoryDetail.vue b/src/views/CategoryDetail.vue
index 20cfefc0603..752f9c19a99 100644
--- a/src/views/CategoryDetail.vue
+++ b/src/views/CategoryDetail.vue
@@ -52,11 +52,11 @@ import api from '../services/api'
export default {
components: {
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue'))
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue'))
},
data() {
return {
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 40548be9c48..5791df2972a 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -70,7 +70,7 @@ import api from '../services/api'
export default {
components: {
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
},
data() {
return {
diff --git a/src/views/LocationDetail.vue b/src/views/LocationDetail.vue
index 78874980085..f7d00fa4ce4 100644
--- a/src/views/LocationDetail.vue
+++ b/src/views/LocationDetail.vue
@@ -48,12 +48,12 @@ import constants from '../constants'
export default {
components: {
- 'LocationCard': defineAsyncComponent(() => import('../components/LocationCard.vue')),
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue')),
- 'OpenStreetMapLink': defineAsyncComponent(() => import('../components/OpenStreetMapLink.vue')),
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue')),
+ LocationCard: defineAsyncComponent(() => import('../components/LocationCard.vue')),
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
+ OpenStreetMapLink: defineAsyncComponent(() => import('../components/OpenStreetMapLink.vue')),
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue')),
},
data() {
return {
diff --git a/src/views/LocationList.vue b/src/views/LocationList.vue
index 85b7d2e0531..bfb24e30286 100644
--- a/src/views/LocationList.vue
+++ b/src/views/LocationList.vue
@@ -31,7 +31,7 @@ import api from '../services/api'
export default {
components: {
- 'LocationCard': defineAsyncComponent(() => import('../components/LocationCard.vue')),
+ LocationCard: defineAsyncComponent(() => import('../components/LocationCard.vue')),
},
data() {
return {
diff --git a/src/views/PriceList.vue b/src/views/PriceList.vue
index 87002ae4750..981e837c772 100644
--- a/src/views/PriceList.vue
+++ b/src/views/PriceList.vue
@@ -23,7 +23,7 @@ import api from '../services/api'
export default {
components: {
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue'))
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue'))
},
data() {
return {
diff --git a/src/views/ProductDetail.vue b/src/views/ProductDetail.vue
index 3a9076ce7f8..82f308f71c3 100644
--- a/src/views/ProductDetail.vue
+++ b/src/views/ProductDetail.vue
@@ -70,15 +70,15 @@ import api from '../services/api'
export default {
components: {
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'PriceCountChip': defineAsyncComponent(() => import('../components/PriceCountChip.vue')),
- 'PriceAddButton': defineAsyncComponent(() => import('../components/PriceAddButton.vue')),
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue')),
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
- 'OpenFoodFactsAddMenu': defineAsyncComponent(() => import('../components/OpenFoodFactsAddMenu.vue')),
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue'))
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ PriceCountChip: defineAsyncComponent(() => import('../components/PriceCountChip.vue')),
+ PriceAddButton: defineAsyncComponent(() => import('../components/PriceAddButton.vue')),
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ OpenFoodFactsAddMenu: defineAsyncComponent(() => import('../components/OpenFoodFactsAddMenu.vue')),
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue'))
},
data() {
return {
diff --git a/src/views/ProductList.vue b/src/views/ProductList.vue
index ce9d7864ec6..4f70576a8d1 100644
--- a/src/views/ProductList.vue
+++ b/src/views/ProductList.vue
@@ -34,9 +34,9 @@ import api from '../services/api'
export default {
components: {
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
},
data() {
return {
diff --git a/src/views/ProofDetail.vue b/src/views/ProofDetail.vue
index ad90394dd18..4e1f5e69da8 100644
--- a/src/views/ProofDetail.vue
+++ b/src/views/ProofDetail.vue
@@ -38,9 +38,9 @@ import api from '../services/api'
export default {
components: {
- 'PriceAddButton': defineAsyncComponent(() => import('../components/PriceAddButton.vue')),
- 'ProofCard': defineAsyncComponent(() => import('../components/ProofCard.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue')),
+ PriceAddButton: defineAsyncComponent(() => import('../components/PriceAddButton.vue')),
+ ProofCard: defineAsyncComponent(() => import('../components/ProofCard.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
},
data() {
return {
diff --git a/src/views/Search.vue b/src/views/Search.vue
index 07cbab9976d..8c811778cc2 100644
--- a/src/views/Search.vue
+++ b/src/views/Search.vue
@@ -53,8 +53,8 @@ import api from '../services/api'
export default {
components: {
- 'ProductCard': defineAsyncComponent(() => import('../components/ProductCard.vue')),
- 'BarcodeScannerDialog': defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue'))
+ ProductCard: defineAsyncComponent(() => import('../components/ProductCard.vue')),
+ BarcodeScannerDialog: defineAsyncComponent(() => import('../components/BarcodeScannerDialog.vue'))
},
data() {
return {
@@ -110,7 +110,7 @@ export default {
})
},
getProductLatestPrices() {
- this.productList.forEach((product, index) => {
+ this.productList.forEach((product) => {
if (product.price_count && !product.latest_price) {
this.getPrices(product)
}
diff --git a/src/views/SignIn.vue b/src/views/SignIn.vue
index 288e3a6c4f9..b97e91cb459 100644
--- a/src/views/SignIn.vue
+++ b/src/views/SignIn.vue
@@ -47,7 +47,7 @@ import api from '../services/api'
export default {
components: {
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
},
data() {
return {
diff --git a/src/views/UserDashboardPriceList.vue b/src/views/UserDashboardPriceList.vue
index cdc835e9948..3ae0950fe87 100644
--- a/src/views/UserDashboardPriceList.vue
+++ b/src/views/UserDashboardPriceList.vue
@@ -43,8 +43,8 @@ import api from '../services/api'
export default {
components: {
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue'))
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue'))
},
data() {
return {
diff --git a/src/views/UserDetail.vue b/src/views/UserDetail.vue
index ba9d1b0a6f1..f556c5b1448 100644
--- a/src/views/UserDetail.vue
+++ b/src/views/UserDetail.vue
@@ -45,12 +45,12 @@ import constants from '../constants'
export default {
components: {
- 'UserCard': defineAsyncComponent(() => import('../components/UserCard.vue')),
- 'FilterMenu': defineAsyncComponent(() => import('../components/FilterMenu.vue')),
- 'OrderMenu': defineAsyncComponent(() => import('../components/OrderMenu.vue')),
- 'PriceCard': defineAsyncComponent(() => import('../components/PriceCard.vue')),
- 'OpenFoodFactsLink': defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
- 'ShareButton': defineAsyncComponent(() => import('../components/ShareButton.vue'))
+ UserCard: defineAsyncComponent(() => import('../components/UserCard.vue')),
+ FilterMenu: defineAsyncComponent(() => import('../components/FilterMenu.vue')),
+ OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
+ PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
+ OpenFoodFactsLink: defineAsyncComponent(() => import('../components/OpenFoodFactsLink.vue')),
+ ShareButton: defineAsyncComponent(() => import('../components/ShareButton.vue'))
},
data() {
return {
diff --git a/src/views/UserList.vue b/src/views/UserList.vue
index 27cb50e3172..99356accc3c 100644
--- a/src/views/UserList.vue
+++ b/src/views/UserList.vue
@@ -31,7 +31,7 @@ import api from '../services/api'
export default {
components: {
- 'UserCard': defineAsyncComponent(() => import('../components/UserCard.vue')),
+ UserCard: defineAsyncComponent(() => import('../components/UserCard.vue')),
},
data() {
return {