fix: baseline TS 에러 정리 및 런타임 에러 수정
- SelectItem value="" -> "none" 변환 (shadcn Select 런타임 에러 수정) - TablesPanel 중복 React key 수정 - 하이픈 포함 식별자를 따옴표로 감싸기 (hero-section, card-layout) - 깨진 레거시 파일 제거 (AutoRegisteringLayoutRenderer.ts) - 중복 인터페이스 통합 (RestAPISourceNodeData, FlowVisibilityConfig) - WebType에 누락된 타입 추가 (checkbox-group, radio-horizontal 등) - 사용하지 않는 namespace 제거 (Migration, TypeValidation) - tsconfig.json에 깨진 레거시 파일 exclude 추가 Made-with: Cursor
This commit is contained in:
@@ -3770,14 +3770,14 @@ export const ButtonConfigPanel: React.FC<ButtonConfigPanelProps> = ({
|
||||
<Select
|
||||
value={String(component.componentConfig?.action?.approvalDefinitionId || "")}
|
||||
onValueChange={(value) => {
|
||||
onUpdateProperty("componentConfig.action.approvalDefinitionId", value ? Number(value) : null);
|
||||
onUpdateProperty("componentConfig.action.approvalDefinitionId", value === "none" ? null : Number(value));
|
||||
}}
|
||||
>
|
||||
<SelectTrigger className="h-8 text-xs sm:h-10 sm:text-sm">
|
||||
<SelectValue placeholder={approvalDefinitionsLoading ? "로딩 중..." : "결재 유형 선택 (선택사항)"} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="">유형 없음 (직접 설정)</SelectItem>
|
||||
<SelectItem value="none">유형 없음 (직접 설정)</SelectItem>
|
||||
{approvalDefinitions.map((def) => (
|
||||
<SelectItem key={def.definition_id} value={String(def.definition_id)}>
|
||||
{def.definition_name}
|
||||
|
||||
Reference in New Issue
Block a user