Skip to content

Commit 9877d78

Browse files
committed
chore: rename flag for AI chat
1 parent 6670a65 commit 9877d78

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE=false
6969
GATEKEEPER_URL=https://license.devtron.ai/dashboard
7070
FEATURE_AI_INTEGRATION_ENABLE=false
7171
LOGIN_PAGE_IMAGE=
72-
FEATURE_AI_APP_DETAILS_ENABLE=false
72+
FEATURE_ASK_DEVTRON_EXPERT=false
7373
FEATURE_REDFISH_NODE_ENABLE=false

src/components/common/SidePanel/SidePanelContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const SidePanelContent = ({ onClose, setSidePanelConfig, sidePanelConfig
4141
return <SidePanelDocumentation SidePanelHeaderActions={SidePanelHeaderActions} />
4242
case SidePanelTab.ASK_DEVTRON:
4343
// NOTE: even if flag is off, for oss clients need to show EnterpriseTrialDialog
44-
if (!AIChat || window._env_.FEATURE_AI_APP_DETAILS_ENABLE) {
44+
if (!AIChat || window._env_?.FEATURE_ASK_DEVTRON_EXPERT) {
4545
return <AIChat SidePanelHeaderActions={SidePanelHeaderActions} />
4646
}
4747

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ if (!window || !window._env_) {
172172
GATEKEEPER_URL: 'https://license.devtron.ai/dashboard',
173173
FEATURE_AI_INTEGRATION_ENABLE: true,
174174
LOGIN_PAGE_IMAGE: '',
175-
FEATURE_AI_APP_DETAILS_ENABLE: false,
175+
FEATURE_ASK_DEVTRON_EXPERT: false,
176176
FEATURE_REDFISH_NODE_ENABLE: false,
177177
}
178178
}

0 commit comments

Comments
 (0)