@@ -11,13 +11,8 @@ import {
11
11
EuiPageBody ,
12
12
EuiPageSideBar ,
13
13
EuiSideNavItemType ,
14
- EuiBetaBadge ,
15
14
EuiTitle ,
16
- EuiFlexItem ,
17
- EuiFlexGroup ,
18
15
EuiSpacer ,
19
- EuiCallOut ,
20
- EuiLink ,
21
16
} from '@elastic/eui' ;
22
17
import { CoreStart } from 'opensearch-dashboards/public' ;
23
18
import { ServicesConsumer } from '../../services' ;
@@ -118,8 +113,8 @@ export default class Main extends Component<MainProps, MainState> {
118
113
* Returns current component route index
119
114
* @return {number }
120
115
*/
121
- getCurrentRouteIndex = ( ) : number => {
122
- let index : number ;
116
+ getCurrentRouteIndex = ( ) : number | undefined => {
117
+ let index : number | undefined ;
123
118
const pathname = this . props . location . pathname ;
124
119
for ( const [ route , routeIndex ] of Object . entries ( navItemIndexByRoute ) ) {
125
120
if ( pathname . match ( new RegExp ( `^${ route } ` ) ) ) {
@@ -159,21 +154,9 @@ export default class Main extends Component<MainProps, MainState> {
159
154
renderItem : ( ) => {
160
155
return (
161
156
< >
162
- < EuiFlexGroup alignItems = "center" gutterSize = "s" >
163
- < EuiFlexItem grow = { false } >
164
- < EuiTitle size = "xs" >
165
- < h3 > { Navigation . SecurityAnalytics } </ h3 >
166
- </ EuiTitle >
167
- </ EuiFlexItem >
168
- < EuiFlexItem grow = { false } >
169
- < EuiBetaBadge
170
- label = "Experimental"
171
- iconType = "beaker"
172
- tooltipContent = "Experimental feature"
173
- tooltipPosition = "bottom"
174
- />
175
- </ EuiFlexItem >
176
- </ EuiFlexGroup >
157
+ < EuiTitle size = "xs" >
158
+ < h3 > { Navigation . SecurityAnalytics } </ h3 >
159
+ </ EuiTitle >
177
160
< EuiSpacer />
178
161
</ >
179
162
) ;
@@ -243,30 +226,6 @@ export default class Main extends Component<MainProps, MainState> {
243
226
</ EuiPageSideBar >
244
227
) }
245
228
< EuiPageBody >
246
- < EuiCallOut title = "Experimental feature" iconType = "beaker" >
247
- < p >
248
- The feature is experimental and should not be used in a production
249
- environment. While we are working on the finishing touches, share your
250
- ideas and feedback on{ ' ' }
251
- < EuiLink
252
- target = { '_blank' }
253
- href = {
254
- 'https://forum.opensearch.org/t/feedback-experimental-feature-security-analytics/11418'
255
- }
256
- >
257
- forum.opensearch.org
258
- </ EuiLink >
259
- . For more information see{ ' ' }
260
- < EuiLink
261
- target = { '_blank' }
262
- href = { 'https://opensearch.org/docs/latest/security-analytics/index/' }
263
- >
264
- Security Analytics Documentation
265
- </ EuiLink >
266
- .
267
- </ p >
268
- </ EuiCallOut >
269
- < EuiSpacer />
270
229
< Switch >
271
230
< Route
272
231
path = { `${ ROUTES . FINDINGS } /:detectorId?` }
0 commit comments