Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

fix(frontend): 资料卡更新读数整段同色

longmeidaofcfd4298a392
diff --git a/frontend/src/react/entity-hero/entity-hero-page.tsx b/frontend/src/react/entity-hero/entity-hero-page.tsx
index e10e135ec..1a6886842 100644
--- a/frontend/src/react/entity-hero/entity-hero-page.tsx
+++ b/frontend/src/react/entity-hero/entity-hero-page.tsx
@@ -191,14 +191,15 @@ function AliasLine({ kind, entity, actions }: { kind: string; entity: EntityHero
);
}
-/** 关注里绑在这位名下的来源:读数是还没入库的更新,点开去关注页只看这一位。 */
+/** 关注里绑在这位名下的来源:读数是还没入库的更新,整段是站内去处(同事务所链接的钨蓝),
+ * 点开去关注页只看这一位。 */
function FollowMeta({ follow, actions }: { follow: HeroFollow; actions: EntityHeroActions }) {
const from = follow.providers.join(' · ');
return (
<span data-meta-item="" data-entity-follow="" title={from ? `关注 · ${from}` : '关注'}>
<Glyph name="rss" />
<a href="/follow" onClick={(event) => { event.preventDefault(); actions.openFollowAuthor(follow.key) }}>
- <b>{follow.n.toLocaleString()}</b> 项更新
+ {follow.n.toLocaleString()} 项更新
</a>
</span>
);
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index d0582f329..6b8792259 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -39634,7 +39634,7 @@ function she({ follow: e, actions: t }) {
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
},
- children: [/* @__PURE__ */ (0, V.jsx)("b", { children: e.n.toLocaleString() }), " 项更新"]
+ children: [e.n.toLocaleString(), " 项更新"]
})]
});
}