Skip to content

Commit 2aae635

Browse files
authored
chore(generative-ai): update DE gen ai opt in text COMPASS-9078 (#6875)
1 parent 591eb06 commit 2aae635

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/compass-generative-ai/src/components/ai-optin-modal.tsx

+5-4
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,16 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
116116
{isProjectAIEnabled
117117
? 'AI features are enabled for project users with data access.'
118118
: 'AI features are disabled for project users.'}{' '}
119-
Project Owners can change this setting in the{' '}
119+
Project Owners can {isProjectAIEnabled ? 'disable' : 'enable'} Data
120+
Explorer AI features in the{' '}
120121
{PROJECT_SETTINGS_LINK !== null ? (
121122
<Link href={PROJECT_SETTINGS_LINK} target="_blank">
122-
AI features
123+
Project Settings
123124
</Link>
124125
) : (
125-
'AI features '
126+
'Project Settings'
126127
)}
127-
section.
128+
.
128129
</Banner>
129130
<div className={disclaimerStyles}>
130131
This is a feature powered by generative AI, and may give inaccurate

0 commit comments

Comments
 (0)