From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 25 Jul 2025 07:51:15 +0000
Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC
 등 (최겸) 기술영업
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/evaluation/table/evaluation-filter-sheet.tsx | 48 ++++++++++++------------
 1 file changed, 24 insertions(+), 24 deletions(-)

(limited to 'lib/evaluation/table/evaluation-filter-sheet.tsx')

diff --git a/lib/evaluation/table/evaluation-filter-sheet.tsx b/lib/evaluation/table/evaluation-filter-sheet.tsx
index 8f435e36..b0bf9139 100644
--- a/lib/evaluation/table/evaluation-filter-sheet.tsx
+++ b/lib/evaluation/table/evaluation-filter-sheet.tsx
@@ -281,7 +281,7 @@ export function PeriodicEvaluationFilterSheet({
                           type="number"
                           placeholder="평가년도 입력"
                           {...field}
-                          disabled={isInitializing}
+                          disabled={isPending}
                           className={cn(field.value && "pr-8", "bg-white")}
                         />
                         {field.value && (
@@ -293,7 +293,7 @@ export function PeriodicEvaluationFilterSheet({
                               e.stopPropagation();
                               form.setValue("evaluationYear", "");
                             }}
-                            disabled={isInitializing}
+                            disabled={isPending}
                             className="absolute right-0 top-0 h-full px-2"
                           >
                             <X className="size-3.5" />
@@ -317,7 +317,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -333,7 +333,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("division", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -364,7 +364,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -380,7 +380,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("status", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -411,7 +411,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -427,7 +427,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("domesticForeign", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -458,7 +458,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -474,7 +474,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("materialType", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -507,7 +507,7 @@ export function PeriodicEvaluationFilterSheet({
                         <Input
                           placeholder="벤더 코드 입력"
                           {...field}
-                          disabled={isInitializing}
+                          disabled={isPending}
                           className={cn(field.value && "pr-8", "bg-white")}
                         />
                         {field.value && (
@@ -520,7 +520,7 @@ export function PeriodicEvaluationFilterSheet({
                               e.stopPropagation();
                               form.setValue("vendorCode", "");
                             }}
-                            disabled={isInitializing}
+                            disabled={isPending}
                           >
                             <X className="size-3.5" />
                           </Button>
@@ -544,7 +544,7 @@ export function PeriodicEvaluationFilterSheet({
                         <Input
                           placeholder="벤더명 입력"
                           {...field}
-                          disabled={isInitializing}
+                          disabled={isPending}
                           className={cn(field.value && "pr-8", "bg-white")}
                         />
                         {field.value && (
@@ -557,7 +557,7 @@ export function PeriodicEvaluationFilterSheet({
                               e.stopPropagation();
                               form.setValue("vendorName", "");
                             }}
-                            disabled={isInitializing}
+                            disabled={isPending}
                           >
                             <X className="size-3.5" />
                           </Button>
@@ -579,7 +579,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -595,7 +595,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("documentsSubmitted", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -626,7 +626,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -642,7 +642,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("evaluationGrade", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -673,7 +673,7 @@ export function PeriodicEvaluationFilterSheet({
                     <Select
                       value={field.value}
                       onValueChange={field.onChange}
-                      disabled={isInitializing}
+                      disabled={isPending}
                     >
                       <FormControl>
                         <SelectTrigger className={cn(field.value && "pr-8", "bg-white")}>
@@ -689,7 +689,7 @@ export function PeriodicEvaluationFilterSheet({
                                   e.stopPropagation();
                                   form.setValue("finalGrade", "");
                                 }}
-                                disabled={isInitializing}
+                                disabled={isPending}
                               >
                                 <X className="size-3" />
                               </Button>
@@ -725,7 +725,7 @@ export function PeriodicEvaluationFilterSheet({
                             step="0.1"
                             placeholder="최소"
                             {...field}
-                            disabled={isInitializing}
+                            disabled={isPending}
                             className={cn(field.value && "pr-8", "bg-white")}
                           />
                           {field.value && (
@@ -738,7 +738,7 @@ export function PeriodicEvaluationFilterSheet({
                                 e.stopPropagation();
                                 form.setValue("minTotalScore", "");
                               }}
-                              disabled={isInitializing}
+                              disabled={isPending}
                             >
                               <X className="size-3.5" />
                             </Button>
@@ -763,7 +763,7 @@ export function PeriodicEvaluationFilterSheet({
                             step="0.1"
                             placeholder="최대"
                             {...field}
-                            disabled={isInitializing}
+                            disabled={isPending}
                             className={cn(field.value && "pr-8", "bg-white")}
                           />
                           {field.value && (
@@ -776,7 +776,7 @@ export function PeriodicEvaluationFilterSheet({
                                 e.stopPropagation();
                                 form.setValue("maxTotalScore", "");
                               }}
-                              disabled={isInitializing}
+                              disabled={isPending}
                             >
                               <X className="size-3.5" />
                             </Button>
-- 
cgit v1.2.3

