File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,15 @@ import React, {FC} from 'react'
44// Components
55import DocSearch , { DocSearchType } from 'src/shared/search/DocSearch'
66
7+ // Constants
8+ import { CLOUD } from 'src/shared/constants'
9+ import { DOCS_URL_VERSION } from 'src/shared/constants/fluxFunctions'
10+
11+ // Utils
12+ import { isFlagEnabled } from 'src/shared/utils/featureFlag'
13+
714import 'src/me/components/DocSearchWidget.scss'
815
9- import { DOCS_URL_VERSION } from 'src/shared/constants/fluxFunctions'
1016const supportLinks = [
1117 {
1218 link : `https://docs.influxdata.com/influxdb/${ DOCS_URL_VERSION } /query-data/get-started/` ,
@@ -36,6 +42,13 @@ const supportLinks = [
3642 } ,
3743]
3844
45+ if ( CLOUD && isFlagEnabled ( 'requestPoc' ) ) {
46+ supportLinks . push ( {
47+ link : 'https://www.influxdata.com/proof-of-concept/' ,
48+ title : 'Request Proof of Concept' ,
49+ } )
50+ }
51+
3952const DocSearchWidget : FC = ( ) => {
4053 return (
4154 < div className = "WidgetSearch" >
You can’t perform that action at this time.
0 commit comments