feat : updae

This commit is contained in:
2026-10-07 17:03:15 +07:00 Unverified
parent 1fa2f80a83
commit 5d195968ec
43 changed files with 515 additions and 243 deletions
+4 -4
View File
@@ -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>