scroll bar add data postu, sucos, aldeias active. hide icon filter manage user & menu. message error in manage user done

This commit is contained in:
Raja Oktafrianto
2025-03-24 16:04:52 +07:00
parent d757e7d74f
commit 884617ac3c
12 changed files with 33 additions and 28 deletions

View File

@ -174,10 +174,13 @@ const AddDialog = () => {
?.name || 'Select Municipios'}
</button>
</PopoverTrigger>
<PopoverContent className="w-[400px] p-0">
<PopoverContent
className="w-[400px] p-0"
onWheel={(e) => e.stopPropagation()}
>
<Command>
<CommandInput placeholder="Search Municipios..." />
<CommandList>
<CommandList className="max-h-[300px] overflow-y-auto pointer-events-auto">
<CommandEmpty>No Municipio found.</CommandEmpty>
<CommandGroup>
{municipios.map((municipio) => (

View File

@ -18,9 +18,7 @@ const ListToolbar = () => {
type="text"
placeholder="Search Postu"
value={(table.getColumn('name')?.getFilterValue() as string) ?? ''}
onChange={(event) =>
table.getColumn('name')?.setFilterValue(event.target.value)
}
onChange={(event) => table.getColumn('name')?.setFilterValue(event.target.value)}
/>
</label>
{/* <DefaultTooltip title={'Filter'} placement={'top'}>

View File

@ -99,7 +99,7 @@ const ManagePostoAdmsContextProvider = ({ children }: { children: React.ReactNod
{
accessorFn: (row) => row.municipios_name,
id: 'municipios_name',
header: ({ column }) => <DataGridColumnHeader title="Municipio Name" column={column} />,
header: ({ column }) => <DataGridColumnHeader title="Municipios Name" column={column} />,
enableSorting: false,
enableHiding: false,
meta: {