RamZallan / tonic

A modern web client for RIT CSH's networked vending machines

Home Page:https://webdrink.csh.rit.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide machines w/ 0 slots and null drink values

RamZallan opened this issue · comments

In adding Snack to the DB, I realize I never look at how many slots a machine has -- in this case we're just rendering the machine card w/ nothing in it.

image

In addition, when a slot has null value, the component won't render.