Improved shop

This commit is contained in:
2017-10-05 10:26:07 +02:00
parent 43317fd3da
commit 41155c8bff
8 changed files with 22 additions and 14 deletions

View File

@ -1,5 +1,6 @@
component Inventory(inventory *arn.Inventory, viewUser *arn.User)
ShopTabs
component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User)
ShopTabs(user)
.inventory(data-api="/api/inventory/" + viewUser.ID)
for index, slot := range inventory.Slots
if slot.ItemID == ""