@freedom_sky/feige-lib 4.58.1 → 4.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,9 +46,9 @@ function getDishArrFromContents(_a) {
46
46
  }
47
47
  }
48
48
  result.unshift({
49
- name: index_1.getNameFromNames(order.buffet.snapshot.names, lang, index_1.CONST.DEFALUT_LANGUAGE) + specificationInNewLine
49
+ name: index_1.getNameFromNames(order.buffet.snapshot.names, lang, index_1.CONST.DEFALUT_LANGUAGE) + (specificationInNewLine
50
50
  ? ''
51
- : "(" + specifications.join() + ")",
51
+ : "(" + specifications.join() + ")"),
52
52
  count: 1,
53
53
  price: index_1.calcBuffetTotalPrice(order.buffet.snapshot, order.adultNum, order.childNum),
54
54
  specifications: specifications,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.58.1",
3
+ "version": "4.58.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -80,9 +80,9 @@ export function getDishArrFromContents({
80
80
  }
81
81
  result.unshift({
82
82
  name:
83
- getNameFromNames(order.buffet.snapshot.names, lang, CONST.DEFALUT_LANGUAGE) + specificationInNewLine
83
+ getNameFromNames(order.buffet.snapshot.names, lang, CONST.DEFALUT_LANGUAGE) + (specificationInNewLine
84
84
  ? ''
85
- : `(${specifications.join()})`,
85
+ : `(${specifications.join()})`),
86
86
  count: 1,
87
87
  price: calcBuffetTotalPrice(order.buffet.snapshot, order.adultNum, order.childNum),
88
88
  specifications: specifications,