From a4529617ccb95419755f3843c3cc088a27135ed0 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Mon, 9 Jan 2023 17:56:51 -0500 Subject: [PATCH] Make upgrade banner bigger --- server/server.go | 1 - web/src/components/Account.js | 8 ++------ web/src/components/Navigation.js | 10 ++++++++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/server/server.go b/server/server.go index 4cc811cf..57760805 100644 --- a/server/server.go +++ b/server/server.go @@ -42,7 +42,6 @@ import ( reset daily Limits for users Make sure account endpoints make sense for admins UI: - - Align size of message bar and upgrade banner - flicker of upgrade banner - JS constants - useContext for account diff --git a/web/src/components/Account.js b/web/src/components/Account.js index 63e73385..c08e0d39 100644 --- a/web/src/components/Account.js +++ b/web/src/components/Account.js @@ -200,12 +200,8 @@ const Stats = () => { {" "}{account.tier ? `(with ${account.tier.name} tier)` : `(no tier)`} } - {account.role === "user" && account.tier && - <>{account.tier.name} - } - {account.role === "user" && !account.tier && - t("account_usage_tier_none") - } + {account.role === "user" && account.tier && account.tier.name} + {account.role === "user" && !account.tier && t("account_usage_tier_none")} {config.enable_payments && account.role === "user" && (!account.tier || !account.tier.paid) &&