From d9bf22b04c024fd44064f923007ed4a5de4e07ac Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 9 Feb 2024 15:11:50 +0100 Subject: [PATCH] change(ui): check for edition msaas --- .../components/shared/SessionSettings/components/CaptureRate.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx b/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx index f96bbdcf4..a7f8b3363 100644 --- a/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx +++ b/frontend/app/components/shared/SessionSettings/components/CaptureRate.tsx @@ -149,6 +149,7 @@ export default connect((state: any) => ({ state.getIn(['user', 'account', 'admin']) || state.getIn(['user', 'account', 'superAdmin']), isEnterprise: !document.location.href.includes('app.openreplay.com') && ( state.getIn(['user', 'account', 'edition']) === 'ee' || + state.getIn(['user', 'account', 'edition']) === 'msaas' || state.getIn(['user', 'authDetails', 'edition']) === 'ee' ) }))(observer(CaptureRate));