Change buttons according to the type of skin (Weapon or Agent)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user