From f00fab952c49b8961a88b900e1552d029778d28b Mon Sep 17 00:00:00 2001 From: Tim DiLauro Date: Mon, 26 Aug 2024 16:33:38 -0400 Subject: [PATCH] Hide inventory report text when button hidden. --- src/components/StatsUsageReportsGroup.tsx | 32 ++++++++++++----------- tests/jest/components/Stats.test.tsx | 30 +++++++++++++++------ 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/src/components/StatsUsageReportsGroup.tsx b/src/components/StatsUsageReportsGroup.tsx index c8697f5e0..0313adda9 100644 --- a/src/components/StatsUsageReportsGroup.tsx +++ b/src/components/StatsUsageReportsGroup.tsx @@ -42,22 +42,24 @@ const StatsUsageReportsGroup = ({ <> {inventoryReportsEnabled && library && ( -