ui: remove testing key flag for ai cards
This commit is contained in:
parent
2994a8425e
commit
8e936d1657
2 changed files with 2 additions and 6 deletions
|
|
@ -31,9 +31,7 @@ function AddCardSelectionModal(props: Props) {
|
|||
};
|
||||
|
||||
const originStr = window.env.ORIGIN || window.location.origin;
|
||||
const testingKey = localStorage.getItem('__mauricio_testing_access') === 'true';
|
||||
|
||||
const isSaas = testingKey && /app\.openreplay\.com/.test(originStr);
|
||||
const isSaas = /app\.openreplay\.com/.test(originStr);
|
||||
return (
|
||||
<>
|
||||
<Modal
|
||||
|
|
|
|||
|
|
@ -93,9 +93,7 @@ function DashboardView(props: Props) {
|
|||
if (!dashboard) return null;
|
||||
|
||||
const originStr = window.env.ORIGIN || window.location.origin;
|
||||
const testingKey = localStorage.getItem('__mauricio_testing_access') === 'true';
|
||||
|
||||
const isSaas = testingKey && /app\.openreplay\.com/.test(originStr);
|
||||
const isSaas = /app\.openreplay\.com/.test(originStr);
|
||||
return (
|
||||
<Loader loading={loading}>
|
||||
<div style={{maxWidth: '1360px', margin: 'auto'}}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue