Merge branch 'main' into feature/screen-management
This commit is contained in:
commit
fb4c9574d3
|
|
@ -233,7 +233,29 @@ export function CustomMetricSection({ queryResult, config, onConfigChange }: Cus
|
|||
/>
|
||||
</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">
|
||||
<Label className="text-xs font-medium">자동 새로고침</Label>
|
||||
<Select
|
||||
|
|
|
|||
Loading…
Reference in New Issue