Skip to content

Commit

Permalink
bump to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taroxd committed May 27, 2016
1 parent edf9163 commit 5dfb786
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poi-plugin-item-info",
"version": "2.0.3",
"version": "2.1.0",
"description": "Show detailed information of all owned equipment.",
"main": "index.cjsx",
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions views/index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ ItemInfoArea = React.createClass
for key, count of row.levelCount
unset = levelCount?[key] ? 0
unsetTotal += unset
diff = count - unset
if row.ships[key]?
for ship in row.ships[key]
diff -= ship.count
if diff > 0
unknownShip = new Ship
unknownShip.count = diff
(row.ships[key] ?= []).push unknownShip
# diff = count - unset
# if row.ships[key]?
# for ship in row.ships[key]
# diff -= ship.count
# if diff > 0
# unknownShip = new Ship
# unknownShip.count = diff
# (row.ships[key] ?= []).push unknownShip
row.unset = unsetTotal

handleResponse: (e) ->
Expand Down

0 comments on commit 5dfb786

Please sign in to comment.