File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,18 +55,26 @@ export const DataOverviewPage = () => {
5555 const navigate = useNavigate ( )
5656
5757 const analysisPages = [
58- {
59- to : `/${ installation . installationCode } /cloe-view` ,
60- label : TranslateText ( 'Data View for Constant Level Oilers' ) ,
61- description : TranslateText ( 'Analysis performed on images of the constant level oilers' ) ,
62- source : cloe ,
63- } ,
64- {
65- to : `/${ installation . installationCode } /fencilla-view` ,
66- label : TranslateText ( 'Data View for Perimeter Breach Detection' ) ,
67- description : TranslateText ( 'Analysis performed on images of the perimeter fences' ) ,
68- source : fenceBreach ,
69- } ,
58+ ...( installation . installationCode ?. toUpperCase ( ) === 'NLS'
59+ ? [
60+ {
61+ to : `/${ installation . installationCode } /cloe-view` ,
62+ label : TranslateText ( 'Data View for Constant Level Oilers' ) ,
63+ description : TranslateText ( 'Analysis performed on images of the constant level oilers' ) ,
64+ source : cloe ,
65+ } ,
66+ ]
67+ : [ ] ) ,
68+ ...( installation . installationCode ?. toUpperCase ( ) === 'NLS'
69+ ? [
70+ {
71+ to : `/${ installation . installationCode } /fencilla-view` ,
72+ label : TranslateText ( 'Data View for Perimeter Breach Detection' ) ,
73+ description : TranslateText ( 'Analysis performed on images of the perimeter fences' ) ,
74+ source : fenceBreach ,
75+ } ,
76+ ]
77+ : [ ] ) ,
7078 ...( installation . installationCode ?. toUpperCase ( ) === 'KAA'
7179 ? [
7280 {
You can’t perform that action at this time.
0 commit comments