From 2b70c68d548a1f9a5ae30372506e503611d7c707 Mon Sep 17 00:00:00 2001 From: Novak Zaballa <41410593+novakzaballa@users.noreply.github.com> Date: Thu, 14 Sep 2023 10:49:38 -0400 Subject: [PATCH] feat: Add a pill for server side only flags (#2780) --- frontend/web/components/FeatureRow.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/frontend/web/components/FeatureRow.js b/frontend/web/components/FeatureRow.js index e9a0af0eb9ed..e3bd3d037aa3 100644 --- a/frontend/web/components/FeatureRow.js +++ b/frontend/web/components/FeatureRow.js @@ -257,6 +257,23 @@ class TheComponent extends Component { }`} )} + {projectFlag.is_server_key_only && ( + + {'Server-side only'} + + } + place='top' + > + { + 'Prevent this feature from being accessed with client-side SDKs.' + } + + )}