ordering-ui-react-native 0.23.15-test → 0.23.15-test2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.23.15-test",
3
+ "version": "0.23.15-test2",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -102,7 +102,7 @@ export const PrinterSettings = (props: any) => {
102
102
  type: type ?? _currentPrinter?.type ?? 1,
103
103
  ip: ip ?? _currentPrinter?.ip ?? '',
104
104
  portName: (type ?? _currentPrinter?.type) === 1 || !ip
105
- ? item.portName1 ?? _currentPrinter?.portName1
105
+ ? item?.bt ?? item.portName1 ?? _currentPrinter?.portName1
106
106
  : `TCP:${ip}`
107
107
  }
108
108
  edit ? (_printers[idx] = _item) : _printers.push(_item)