Change buttons according to the type of skin (Weapon or Agent)

This commit is contained in:
2026-09-12 01:05:34 +02:00
parent 9fb01f5746
commit adc61be69c

View File

@@ -94,8 +94,8 @@ export function SkinDialog({
Transaction id: {skin.id} Transaction id: {skin.id}
</Typography.Code> </Typography.Code>
<div className="flex gap-2 justify-end"> <div className="flex gap-2 justify-end">
<Button variant="secondary">Apply to both</Button> {skin instanceof WeaponInfo && <Button variant="secondary">Apply to Both</Button>}
<Button>Apply to {side}</Button> <Button>Apply{skin instanceof WeaponInfo ? ` to ${side}` : ""}</Button>
</div> </div>
</div> </div>
</Modal.Body> </Modal.Body>