diff --git a/src/components/profile/profile-item.tsx b/src/components/profile/profile-item.tsx
index c619e8da..c0c6fc8f 100644
--- a/src/components/profile/profile-item.tsx
+++ b/src/components/profile/profile-item.tsx
@@ -57,6 +57,7 @@ export const ProfileItem = (props: Props) => {
const { upload = 0, download = 0, total = 0 } = extra ?? {};
const from = parseUrl(itemData.url);
+ const description = itemData.desc;
const expire = parseExpire(extra?.expire);
const progress = Math.round(((download + upload) * 100) / (total + 0.1));
@@ -275,27 +276,32 @@ export const ProfileItem = (props: Props) => {
{/* the second line show url's info or description */}
- {hasUrl ? (
+ {
<>
-
- {from}
-
-
-
- {updated > 0 ? dayjs(updated * 1000).fromNow() : ""}
-
+ {description ? (
+
+ {description}
+
+ ) : (
+ hasUrl && (
+
+ {from}
+
+ )
+ )}
+ {hasUrl && (
+
+ {updated > 0 ? dayjs(updated * 1000).fromNow() : ""}
+
+ )}
>
- ) : (
-
- {itemData.desc}
-
- )}
+ }
{/* the third line show extra info or last updated time */}
{hasExtra ? (
diff --git a/src/components/profile/profile-more.tsx b/src/components/profile/profile-more.tsx
index f9796657..ca6c94c4 100644
--- a/src/components/profile/profile-more.tsx
+++ b/src/components/profile/profile-more.tsx
@@ -178,17 +178,6 @@ export const ProfileMore = (props: Props) => {
{itemData.desc}
)}
-
-
- {!!itemData.updated
- ? dayjs(itemData.updated! * 1000).fromNow()
- : ""}
-