From 21cf0b8e159190df516635253b88df3b8b33e0d8 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Thu, 25 Jan 2024 13:23:26 +0000 Subject: [PATCH] fix: display of usage chart (#3331) --- frontend/web/components/pages/OrganisationSettingsPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/web/components/pages/OrganisationSettingsPage.js b/frontend/web/components/pages/OrganisationSettingsPage.js index e9c268fd78b2..77d38236eb3a 100644 --- a/frontend/web/components/pages/OrganisationSettingsPage.js +++ b/frontend/web/components/pages/OrganisationSettingsPage.js @@ -1794,7 +1794,8 @@ const OrganisationSettingsPage = class extends Component { {displayedTabs.includes(SettingsTab.Usage) && ( - {this.state.tab === 4 && ( + {this.state.tab === + displayedTabs.indexOf(SettingsTab.Usage) && (