From a5ecb058e05433fe965b655946eaf9121a515a37 Mon Sep 17 00:00:00 2001 From: Novak Zaballa <41410593+novakzaballa@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:09:52 -0400 Subject: [PATCH] chore: Remove configure_hide_sensitive_data flag (#2834) --- .../pages/EnvironmentSettingsPage.js | 72 +++++++++---------- 1 file changed, 34 insertions(+), 38 deletions(-) diff --git a/frontend/web/components/pages/EnvironmentSettingsPage.js b/frontend/web/components/pages/EnvironmentSettingsPage.js index a5b4edb7e050..c6a7d8f7a262 100644 --- a/frontend/web/components/pages/EnvironmentSettingsPage.js +++ b/frontend/web/components/pages/EnvironmentSettingsPage.js @@ -344,44 +344,40 @@ const EnvironmentSettingsPage = class extends Component { )} - {Utils.getFlagsmithHasFeature( - 'configure_hide_sensitive_data', - ) && ( -
- - { - this.confirmToggle( - 'The data returned from the API will change and could break your existing code. Are you sure that you want to change this value?', - 'hide_sensitive_data', - hide_sensitive_data, - ) - }} - /> -
Hide sensitive data
-
-

- Exclude sensitive data from endpoints returning - flags and identity information to the SDKs or via - our REST API. For full information on the excluded - fields see documentation{' '} - -

- Warning! Enabling this feature will change the - response from the API and could break your - existing code. -
-

-
- )} +
+ + { + this.confirmToggle( + 'The data returned from the API will change and could break your existing code. Are you sure that you want to change this value?', + 'hide_sensitive_data', + hide_sensitive_data, + ) + }} + /> +
Hide sensitive data
+
+

+ Exclude sensitive data from endpoints returning + flags and identity information to the SDKs or via + our REST API. For full information on the excluded + fields see documentation{' '} + +

+ Warning! Enabling this feature will change the + response from the API and could break your + existing code. +
+

+