Closed janiseliang closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
ucbpfa-pantry-webapp | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Feb 10, 2023 at 8:35AM (UTC) |
Hmm let me ask Natalia about this, honestly I feel like we haven't been doing a great job with making sure inventory is in stock/not in stock but def agree this would be useful once it's accurate
Edit: nvm we're just gonna try and make inventory accurate lol
Also side note we should probably change line 45 maxQuantity == 0 to maxQuantity <= 0, but lowkey it's kind of nice because we reset the inventory to zero each week so if something's in the negative that means we probably have it since it's being checked out so maybe just hide the oos label? ... idk curious about your thoughts
current default is to show out of stock items. seems a bit cluttered when there's a lot of items that can't even be ordered.
changed default to hidden