Skip to content

Commit c982961

Browse files
committed
Rework GreenLake dropdown menu
1 parent c1571b3 commit c982961

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/components/Header/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ function Header() {
3838
const greenlake = data?.greenlake?.edges;
3939

4040
const GreenLakeButtonLinks = ({ column }) => {
41-
const leftColumn = greenlake.filter((gl, index) => index % 2 === 0);
42-
const rightColumn = greenlake.filter((gl, index) => index % 2);
41+
/* const leftColumn = greenlake.filter((gl, index) => index % 2 === 0); */
42+
const leftColumn = greenlake;
43+
const rightColumn = greenlake.filter((gl, index) => index % 2);
44+
4345
const externalLinks = [
4446
{
4547
title: 'HPE GreenLake API Portal',
@@ -85,7 +87,7 @@ function Header() {
8587
/>
8688
);
8789
});
88-
const allLinks = [...elColumns, ...glColumns];
90+
const allLinks = [/* ...elColumns, */...glColumns];
8991
return allLinks;
9092
};
9193
// const iframeRef = useRef();
@@ -203,9 +205,9 @@ function Header() {
203205
<TextAlignLeft>
204206
<GreenLakeButtonLinks column="left" />
205207
</TextAlignLeft>
206-
<TextAlignLeft>
208+
{/* <TextAlignLeft>
207209
<GreenLakeButtonLinks column="right" />
208-
</TextAlignLeft>
210+
</TextAlignLeft> */}
209211
</Box>
210212
</TextAlignLeft>
211213
}

0 commit comments

Comments
 (0)