From 59b5715ebb3e1fd7bd4eb02ce50399715734f865 Mon Sep 17 00:00:00 2001 From: 0-Zz-ang Date: Mon, 4 Aug 2025 14:59:15 +0900 Subject: (박서영) docu-list-rule detail sheet 컴포넌트 추가 및 검색 필터 기능 오류 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../table/combo-box-settings-table-toolbar.tsx | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 lib/docu-list-rule/combo-box-settings/table/combo-box-settings-table-toolbar.tsx (limited to 'lib/docu-list-rule/combo-box-settings/table/combo-box-settings-table-toolbar.tsx') diff --git a/lib/docu-list-rule/combo-box-settings/table/combo-box-settings-table-toolbar.tsx b/lib/docu-list-rule/combo-box-settings/table/combo-box-settings-table-toolbar.tsx deleted file mode 100644 index 77cbea01..00000000 --- a/lib/docu-list-rule/combo-box-settings/table/combo-box-settings-table-toolbar.tsx +++ /dev/null @@ -1,33 +0,0 @@ -"use client" - -import * as React from "react" -import { type Table } from "@tanstack/react-table" - -import { DeleteComboBoxSettingsDialog } from "./delete-combo-box-settings-dialog" -import { codeGroups } from "@/db/schema/codeGroups" - -interface ComboBoxSettingsTableToolbarActionsProps { - table: Table - onSuccess?: () => void -} - -export function ComboBoxSettingsTableToolbarActions({ table, onSuccess }: ComboBoxSettingsTableToolbarActionsProps) { - return ( -
- {/** 1) 선택된 로우가 있으면 삭제 다이얼로그 */} - {table.getFilteredSelectedRowModel().rows.length > 0 ? ( - row.original)} - onSuccess={() => { - table.toggleAllRowsSelected(false) - onSuccess?.() - }} - /> - ) : null} - - -
- ) -} \ No newline at end of file -- cgit v1.2.3