관망도 레이어 전체켜기 기능 추가

This commit is contained in:
2026-09-23 13:50:50 +09:00
parent 35b9f813c4
commit 8818dd21c6
41 changed files with 461 additions and 51 deletions
@@ -1,5 +1,6 @@
"use client";
import { getSnRowNumber } from "@/shared/lib/row-number";
import { type ReactNode, useMemo } from "react";
import {
@@ -10,7 +11,6 @@ import {
} from "@tanstack/react-table";
import {
getStandardRowNumber,
type ScrollMode,
StandardDataTable,
StandardTableSortHeader,
@@ -109,7 +109,7 @@ export default function MapPopupDataTable<T extends Record<string, unknown>>({
const rowIndex = row.index;
const rendered = renderCell?.(row.original, head.id, rowIndex);
const value = ROW_NUMBER_IDS.has(head.id)
? getStandardRowNumber({
? getSnRowNumber({
total,
rowIndex,
pageIndex: page - 1,