summaryrefslogtreecommitdiff
path: root/components/form-data/update-form-sheet.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/form-data/update-form-sheet.tsx')
-rw-r--r--components/form-data/update-form-sheet.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/form-data/update-form-sheet.tsx b/components/form-data/update-form-sheet.tsx
index c8772e2a..ecf42048 100644
--- a/components/form-data/update-form-sheet.tsx
+++ b/components/form-data/update-form-sheet.tsx
@@ -93,14 +93,14 @@ export function UpdateTagSheet({
return true;
}
- // 3. editableFieldsMap이 있으면 해당 리스트에 있는지 확인
- if (rowData?.TAG_NO && editableFieldsMap.has(rowData.TAG_NO)) {
- return editableFields.includes(column.key);
- }
+ //3. editableFieldsMap이 있으면 해당 리스트에 있는지 확인
+ // if (rowData?.TAG_NO && editableFieldsMap.has(rowData.TAG_NO)) {
+ // return editableFields.includes(column.key);
+ // }
// 4. editableFieldsMap 정보가 없으면 기본적으로 편집 불가 (안전한 기본값)
return false;
- }, [rowData?.TAG_NO, editableFieldsMap, editableFields]);
+ }, []);
// 읽기 전용 필드인지 판별하는 함수 (편집 가능의 반대)
const isFieldReadOnly = React.useCallback((column: DataTableColumnJSON) => {