mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-18 06:53:41 +08:00
cx(Commit changes to format display of chat item count
This commit is contained in:
@@ -91,7 +91,10 @@ export function ChatItem(props: {
|
|||||||
onClick={props.onClick}
|
onClick={props.onClick}
|
||||||
>
|
>
|
||||||
<div className={styles["chat-item-info-collapse"]}>
|
<div className={styles["chat-item-info-collapse"]}>
|
||||||
{Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "")}
|
{Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "")
|
||||||
|
.length <= 3
|
||||||
|
? Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "")
|
||||||
|
: ":)"}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
|
|||||||
Reference in New Issue
Block a user