fix: restore bug feedback entry
This commit is contained in:
@@ -146,6 +146,8 @@ function normalizeViewKey(rawView: string): WebViewKey {
|
|||||||
? "login"
|
? "login"
|
||||||
: rawView === "ecommerceHub"
|
: rawView === "ecommerceHub"
|
||||||
? "ecommerce"
|
? "ecommerce"
|
||||||
|
: rawView === "bug-feedback" || rawView === "feedback"
|
||||||
|
? "report"
|
||||||
: rawView === "terms" || rawView === "agreement" || rawView === "user-agreement"
|
: rawView === "terms" || rawView === "agreement" || rawView === "user-agreement"
|
||||||
? "userAgreement"
|
? "userAgreement"
|
||||||
: rawView === "privacy" || rawView === "privacy-policy"
|
: rawView === "privacy" || rawView === "privacy-policy"
|
||||||
|
|||||||
@@ -370,6 +370,7 @@ function AppShell({
|
|||||||
<dd>{publicConfig.contactPhone || "由服务器配置"}</dd>
|
<dd>{publicConfig.contactPhone || "由服务器配置"}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div className="info-popover__links">
|
<div className="info-popover__links">
|
||||||
|
<a href="#/bug-feedback" onClick={() => setInfoOpen(false)}>Bug 反馈</a>
|
||||||
<a href="#/userAgreement" onClick={() => setInfoOpen(false)}>用户协议</a>
|
<a href="#/userAgreement" onClick={() => setInfoOpen(false)}>用户协议</a>
|
||||||
<a href="#/privacyPolicy" onClick={() => setInfoOpen(false)}>隐私政策</a>
|
<a href="#/privacyPolicy" onClick={() => setInfoOpen(false)}>隐私政策</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -457,7 +458,7 @@ function AppShell({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ShellIcon name="flag" />
|
<ShellIcon name="flag" />
|
||||||
投诉举报
|
Bug 反馈
|
||||||
</button>
|
</button>
|
||||||
{showCommunityReview ? (
|
{showCommunityReview ? (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user