mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-26 04:17:19 +00:00
Fix Party & Timestamp Activities
This commit is contained in:
@@ -348,14 +348,14 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
|
|||||||
height: 15px;
|
height: 15px;
|
||||||
margin: 7px 0;
|
margin: 7px 0;
|
||||||
">${activity.state}${
|
">${activity.state}${
|
||||||
activity.party
|
activity.party && activity.party.size
|
||||||
? `(${activity.party.size[0]} of ${activity.party.size[1]})`
|
? ` (${activity.party.size[0]} of ${activity.party.size[1]})`
|
||||||
: ""
|
: ""
|
||||||
}</p>`
|
}</p>`
|
||||||
: ``
|
: ``
|
||||||
}
|
}
|
||||||
${
|
${
|
||||||
activity.timestamps && hideTimestamp !== "true"
|
activity.timestamps && activity.timestamps.start && hideTimestamp !== "true"
|
||||||
? `
|
? `
|
||||||
<p style="
|
<p style="
|
||||||
color: ${theme === "dark" ? "#ccc" : "#777"};
|
color: ${theme === "dark" ? "#ccc" : "#777"};
|
||||||
|
|||||||
Reference in New Issue
Block a user