Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed Apr 26, 2019
1 parent fb94143 commit f81d096
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/store/PosStore/syncInBackground.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ export async function itemSync(itemObject, store) {
itemObjectResult.edit({
_id: itemObject.syncObject.id,
name:
itemObject.syncObject.name !== null
? itemObject.syncObject.name
: "",
itemObject.syncObject.name !== null ? itemObject.syncObject.name : "",
soldBy:
itemObject.syncObject.stock_uom !== null
? itemObject.syncObject.stock_uom
Expand Down Expand Up @@ -142,9 +140,7 @@ export async function itemSync(itemObject, store) {
} else {
var objecct_to_add = {
name:
itemObject.syncObject.name !== null
? itemObject.syncObject.name
: "",
itemObject.syncObject.name !== null ? itemObject.syncObject.name : "",
soldBy:
itemObject.syncObject.stock_uom !== null
? itemObject.syncObject.stock_uom === "Nos"
Expand Down

0 comments on commit f81d096

Please sign in to comment.