Merge pull request 'lhj' (#255) from lhj into main

Reviewed-on: http://39.117.244.52:3000/kjs/ERP-node/pulls/255
This commit is contained in:
hjlee 2025-12-08 18:21:51 +09:00
commit 37fb9a13f8
1 changed files with 23 additions and 1 deletions

View File

@ -233,7 +233,29 @@ export function CustomMetricSection({ queryResult, config, onConfigChange }: Cus
/> />
</div> </div>
{/* 6. 자동 새로고침 간격 */} {/* 6. 소수점 자릿수 */}
<div className="space-y-2">
<Label className="text-xs font-medium"> 릿</Label>
<Select
value={(config.decimals ?? 0).toString()}
onValueChange={(value) => onConfigChange({ decimals: parseInt(value) })}
>
<SelectTrigger className="h-9 text-xs">
<SelectValue placeholder="자릿수 선택" />
</SelectTrigger>
<SelectContent>
<SelectItem value="0" className="text-xs"> (0)</SelectItem>
<SelectItem value="1" className="text-xs"> 1</SelectItem>
<SelectItem value="2" className="text-xs"> 2</SelectItem>
<SelectItem value="3" className="text-xs"> 3</SelectItem>
</SelectContent>
</Select>
<p className="text-[10px] text-muted-foreground">
릿 (, )
</p>
</div>
{/* 7. 자동 새로고침 간격 */}
<div className="space-y-2"> <div className="space-y-2">
<Label className="text-xs font-medium"> </Label> <Label className="text-xs font-medium"> </Label>
<Select <Select