lhj #376

Merged
hjlee merged 5 commits from lhj into main 2026-01-21 17:15:48 +09:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit cb8b434434 - Show all commits

View File

@ -500,9 +500,9 @@ export const PivotGridComponent: React.FC<PivotGridProps> = ({
const filteredData = useMemo(() => {
if (!data || data.length === 0) return data;
// 필터 영역의 필드들로 데이터 필터링
// 모든 영역(행/열/필터)의 필터 값이 있는 필드로 데이터 필터링
const activeFilters = fields.filter(
(f) => f.area === "filter" && f.filterValues && f.filterValues.length > 0
(f) => f.filterValues && f.filterValues.length > 0
);
if (activeFilters.length === 0) return data;