Skip to content

Commit

Permalink
feat(taxes_and_fees): update a logic of calculation taxes and fees
Browse files Browse the repository at this point in the history
  • Loading branch information
reb2020 committed Oct 29, 2021
1 parent 2c90e5d commit 1908ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiled/occupancy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var strummerMatcher = {
} else {
dataCheck = [value];
}
} else if (typeof value === 'undefined') {
} else if (typeof value === 'undefined' || !value) {
dataCheck = [];
}

Expand Down
2 changes: 1 addition & 1 deletion src/occupancy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const strummerMatcher = {
} else {
dataCheck = [value]
}
} else if (typeof value === 'undefined') {
} else if (typeof value === 'undefined' || !value) {
dataCheck = []
}
for (const occupancy of dataCheck) {
Expand Down

0 comments on commit 1908ed2

Please sign in to comment.