260206_07_ENH: 필터 아이콘 추가 및 api통신에 캐시 기능 추가, LIFE_STAGE_COLUMNS에 미혼, 독립 시니어 rowspan 적용

This commit is contained in:
2026-02-06 16:30:29 +09:00
parent 17d75e3f3a
commit b7282bd07d
4 changed files with 23 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ import ExcelDownloadButton from "./ExcelDownloadButton";
import {LayoutFilterProvider} from "./LayoutFilterContext";
import {LAST_YEAR, PRODUCTS_FILTER_ITEM} from "@/const/lgConst";
import {ProductsFilterItem} from "@/types/lg";
import {ArrowUp} from "lucide-react";
import {ArrowUp, Filter} from "lucide-react";
type MainLayoutProps = {
children: ReactNode;
@@ -141,6 +141,7 @@ const MainLayout = ({ children }: MainLayoutProps) => {
"select-none"
)}
>
<Filter className="h-4 w-4 fill-[hsl(var(--lg-gray-500))] stroke-[hsl(var(--lg-gray-500))]" />
필터 <span className="text-sm leading-none">{isFilterOpen ? "▲" : "▼"}</span>
</button>
{isTotal && (