Skip to content

Commit

Permalink
Improved: added a trim check before saving the query string in the st…
Browse files Browse the repository at this point in the history
…ate & updated the locale file(#673)
  • Loading branch information
R-Sourabh committed Nov 20, 2024
1 parent 64d32e5 commit 4e213ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@
"Shopify ID": "Shopify ID",
"Show label error": "Show label error",
"Show order items": "Show order items",
"Show completed transfer orders": "Show completed transfer orders",
"Single variance": "Single variance",
"Some of the mapping fields are missing in the CSV: ": "Some of the mapping fields are missing in the CSV: {missingFields}",
"Something went wrong while fetching order details, please check the orderId and try again.": "Something went wrong while fetching order details, please check the orderId and try again.",
Expand Down
1 change: 1 addition & 0 deletions src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
"Shopify ID": "ID de Shopify",
"Show label error": "Show label error",
"Show order items": "Mostrar artículos del pedido",
"Show completed transfer orders": "Show completed transfer orders",
"Single variance": "Variante unica",
"Some of the mapping fields are missing in the CSV: ": "Algunos de los campos de mapeo faltan en el CSV: {missingFields}",
"Something went wrong": "Algo salió mal",
Expand Down
1 change: 1 addition & 0 deletions src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
"Shopify ID": "Shopify ID",
"Show label error": "ラベルエラーを表示",
"Show order items": "注文アイテムを表示",
"Show completed transfer orders": "Show completed transfer orders",
"Single variance": "単一変動",
"Some of the mapping fields are missing in the CSV: ": "CSV内のいくつかのマッピングフィールドが欠落しています: {missingFields}",
"Something went wrong while fetching order details, please check the orderId and try again.": "注文詳細の取得中にエラーが発生しました。注文IDを確認して再試行してください。",
Expand Down
2 changes: 1 addition & 1 deletion src/views/TransferOrders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default defineComponent({
transferOrdersQuery.viewIndex = 0
transferOrdersQuery.viewSize = process.env.VUE_APP_VIEW_SIZE
transferOrdersQuery.queryString = queryString
transferOrdersQuery.queryString = queryString.trim()
await this.store.dispatch('transferorder/updateTransferOrderQuery', { ...transferOrdersQuery })
this.searchedQuery = queryString;
},
Expand Down

0 comments on commit 4e213ec

Please sign in to comment.