Skip to content

Commit

Permalink
fix: smart data filtering access (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Jul 18, 2024
1 parent 2b10e46 commit 83eb262
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/frontend/pages/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export default function AppAnalytics() {
)

const smartDataFilterEnabled = config.IS_SELF_HOSTED
? org.license.samlEnabled
: org.samlEnabled
? org.license.dataFilteringEnabled
: org.dataFilteringEnabled

return (
<Container className="unblockable">
Expand Down Expand Up @@ -204,7 +204,7 @@ export default function AppAnalytics() {
"Filter out sensitive data",
"LLM-powered detection or custom regex patterns",
],
enabled: smartDataFilterEnabled,
enabled: !smartDataFilterEnabled,
}}
>
<Text>
Expand Down

0 comments on commit 83eb262

Please sign in to comment.