feat : updae
This commit is contained in:
@@ -145,8 +145,8 @@ export function WeaponImageExport({
|
||||
const conditionLabel = group.name;
|
||||
const baseName = `${guide.name}-Weapon-${conditionLabel || `Condition ${conditionIndex + 1}`}`;
|
||||
const metricOptions = ([
|
||||
["overallPercent", "Overall Damage"],
|
||||
["personalPercent", "Personal Damage"],
|
||||
["overallPercent", "ดาเมจทั้งทีม"],
|
||||
["personalPercent", "ดาเมจส่วนตัว"],
|
||||
] as const).filter(([metric]) =>
|
||||
group.rows.some((row) => row[metric] !== null),
|
||||
);
|
||||
@@ -177,9 +177,9 @@ export function WeaponImageExport({
|
||||
|
||||
return (
|
||||
<Dialog>
|
||||
<DialogTrigger render={<Button type="button" variant="outline" size="sm" />}>
|
||||
<DialogTrigger render={<Button type="button" variant="outline" size="sm" className="max-sm:min-h-11" />}>
|
||||
<DownloadIcon data-icon="inline-start" />
|
||||
ส่งออกภาพ
|
||||
บันทึกภาพ
|
||||
</DialogTrigger>
|
||||
<DialogContent className="max-h-[90svh] overflow-y-auto sm:w-fit sm:max-w-[calc(100%-2rem)]">
|
||||
<DialogHeader>
|
||||
|
||||
Reference in New Issue
Block a user