화면 분할 패널 자동으로 데이터 넘기는 기능 설정 가능하게 변경
This commit is contained in:
@@ -53,6 +53,7 @@ export function ScreenSplitPanelConfigPanel({ config = {}, onChange }: ScreenSpl
|
||||
buttonPosition: config.buttonPosition || "center",
|
||||
parentDataMapping: config.parentDataMapping || [] as ParentDataMapping[],
|
||||
linkedFilters: config.linkedFilters || [] as LinkedFilter[],
|
||||
disableAutoDataTransfer: config.disableAutoDataTransfer ?? false, // 자동 데이터 전달 비활성화
|
||||
...config,
|
||||
});
|
||||
|
||||
@@ -69,6 +70,7 @@ export function ScreenSplitPanelConfigPanel({ config = {}, onChange }: ScreenSpl
|
||||
buttonPosition: config.buttonPosition || "center",
|
||||
parentDataMapping: config.parentDataMapping || [],
|
||||
linkedFilters: config.linkedFilters || [],
|
||||
disableAutoDataTransfer: config.disableAutoDataTransfer ?? false,
|
||||
...config,
|
||||
});
|
||||
}, [config]);
|
||||
@@ -386,6 +388,26 @@ export function ScreenSplitPanelConfigPanel({ config = {}, onChange }: ScreenSpl
|
||||
onCheckedChange={(checked) => updateConfig("resizable", checked)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Separator />
|
||||
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="space-y-0.5">
|
||||
<Label htmlFor="disableAutoDataTransfer" className="text-xs font-medium">
|
||||
자동 데이터 전달 비활성화
|
||||
</Label>
|
||||
<p className="text-muted-foreground text-xs">
|
||||
좌측 행 선택 시 우측으로 데이터가 자동 전달되지 않습니다.
|
||||
<br />
|
||||
버튼 클릭으로만 데이터를 전달하려면 활성화하세요.
|
||||
</p>
|
||||
</div>
|
||||
<Checkbox
|
||||
id="disableAutoDataTransfer"
|
||||
checked={localConfig.disableAutoDataTransfer}
|
||||
onCheckedChange={(checked) => updateConfig("disableAutoDataTransfer", checked)}
|
||||
/>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</TabsContent>
|
||||
|
||||
Reference in New Issue
Block a user