commit 3c4ab51f5e2601ec1860290e8b3c8cd0f12732fb
parent e505c561d138ec2df75a82c4fddff1e112cf5273
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 9 Dec 2025 10:26:08 +0900
statistics: only show in developer persona
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx
@@ -439,7 +439,7 @@ function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_paymentTimeoutOnTemplate]: true,
[UIElement.action_useRevenueApi]: true,
[UIElement.option_inventoryTaxes]: true,
- [UIElement.sidebar_statistics]: true,
+ [UIElement.sidebar_statistics]: false,
[UIElement.sidebar_discounts]: false,
[UIElement.sidebar_subscriptions]: false,
@@ -511,7 +511,7 @@ function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.sidebar_bankAccounts]: true,
[UIElement.sidebar_settings]: true,
[UIElement.sidebar_password]: true,
- [UIElement.sidebar_statistics]: true,
+ [UIElement.sidebar_statistics]: false,
[UIElement.sidebar_templates]: false,
[UIElement.sidebar_categories]: false,
@@ -540,7 +540,7 @@ function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.sidebar_bankAccounts]: true,
[UIElement.sidebar_settings]: true,
[UIElement.sidebar_password]: true,
- [UIElement.sidebar_statistics]: true,
+ [UIElement.sidebar_statistics]: false,
[UIElement.sidebar_templates]: false,
[UIElement.sidebar_categories]: false,