init user edit,
This commit is contained in:
@@ -95,14 +95,7 @@ export function ProductTableToolbar({ filters, options }: Props) {
|
||||
onChange={handleChangeStock}
|
||||
onClose={handleFilterStock}
|
||||
input={<OutlinedInput label="Stock" />}
|
||||
renderValue={(selected) => {
|
||||
return selected
|
||||
.map((value) => {
|
||||
console.log(t(value));
|
||||
return t(value);
|
||||
})
|
||||
.join(', ');
|
||||
}}
|
||||
renderValue={(selected) => selected.map((value) => t(value)).join(', ')}
|
||||
inputProps={{ id: 'filter-stock-select' }}
|
||||
sx={{ textTransform: 'capitalize' }}
|
||||
>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
// src/sections/product/view/product-list-view.tsx
|
||||
import Box from '@mui/material/Box';
|
||||
import Button from '@mui/material/Button';
|
||||
import Card from '@mui/material/Card';
|
||||
|
Reference in New Issue
Block a user