Show containers for admin even when empty
This commit is contained in:
@@ -112,7 +112,7 @@ function DrinkPage(arg:Arguments) {
|
||||
<Col md={6} className='mb-4'>
|
||||
<div className="h-100 p-5 text-bg-dark rounded-3">
|
||||
<h2>Inventory</h2>
|
||||
{totalinventory == 0 ? (
|
||||
{totalinventory == 0 && !arg.isAdmin ? (
|
||||
"No inventory"
|
||||
) : (
|
||||
<Table data-bs-theme="dark">
|
||||
|
||||
Reference in New Issue
Block a user