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:
commit
37fb9a13f8
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue