mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-14 10:31:07 +08:00
edit product route
This commit is contained in:
parent
a21adacab1
commit
88049d0367
5 changed files with 152 additions and 14 deletions
|
@ -22,7 +22,7 @@ export default function InventoryInfo(props: ProductInfoProps) {
|
|||
<TableBody>
|
||||
{products.map((product) => (
|
||||
<TableRow key={product.id}>
|
||||
<TableCell style={{ color: 'white' }}>{product.id}</TableCell>
|
||||
<TableCell style={{ color: 'white' }}>{product.id.toString().padStart(3, '0')}</TableCell>
|
||||
<TableCell style={{ color: 'white' }}>{product.name}</TableCell>
|
||||
<TableCell style={{ color: 'white' }}>{product.stocks}</TableCell>
|
||||
<TableCell style={{ color: 'white' }}>{product.lastModified}</TableCell>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue