Skip to content

Commit

Permalink
Improve clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Dec 8, 2024
1 parent 25823bd commit 1747d96
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/CippTable/CIPPTableToptoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import {
import { Box, Stack } from "@mui/system";
import { MRT_GlobalFilterTextField, MRT_ToggleFiltersButton } from "material-react-table";
import { PDFExportButton } from "../pdfExportButton";
import { ChevronDownIcon, ExclamationCircleIcon } from "@heroicons/react/24/outline";
import {
ChevronDownIcon,
ExclamationCircleIcon,
MagnifyingGlassCircleIcon,
MagnifyingGlassIcon,
} from "@heroicons/react/24/outline";
import { usePopover } from "../../hooks/use-popover";
import { CSVExportButton } from "../csvExportButton";
import { useDialog } from "../../hooks/use-dialog";
Expand Down Expand Up @@ -159,9 +164,11 @@ export const CIPPTableToptoolbar = ({
</Tooltip>

<MRT_GlobalFilterTextField table={table} />
<Tooltip title="preset filters">
<Tooltip title="Preset Filters">
<IconButton onClick={filterPopover.handleOpen} ref={filterPopover.anchorRef}>
<FilterTiltShift />
<SvgIcon>
<MagnifyingGlassIcon />
</SvgIcon>
</IconButton>
</Tooltip>
<Menu
Expand Down

0 comments on commit 1747d96

Please sign in to comment.