Skip to content

Commit eb16cba

Browse files
committed
couple of smaller fixes
1 parent 59d286e commit eb16cba

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/App/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export default function App() {
115115
/>
116116
}
117117
/>
118-
<Route path="/" />
119118
<Route path="clusters" element={<ClusterList />} />
120119
<Route
121120
path="cluster/:currentClusterName"

src/sidebar/CategoryItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export function CategoryItem({
4040
}
4141
};
4242

43-
const children = category.items?.map(nn => (
44-
<React.Fragment key={nn.pathSegment}>
43+
const children = category.items?.map((nn, index) => (
44+
<React.Fragment key={index}>
4545
{nn.dataSources ? (
4646
<DataSourcesContextProvider dataSources={nn.dataSources}>
4747
<NavItem node={nn} key={nn.pathSegment} subItem={true} />

src/sidebar/Sidebar.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
z-index: 999;
1919

2020
.namespace-combobox {
21+
z-index: 0;
2122
padding-top: 0.75rem;
2223
}
2324
}

src/sidebar/SidebarNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function SidebarNavigation() {
115115
)}
116116
{(!namespace || isSidebarCondensed) && <div className="space-top" />}
117117
{namespace && (
118-
<div className="namespace-combobox" style={{ zIndex: '0' }}>
118+
<div className="namespace-combobox">
119119
<Label
120120
for="NamespaceComboBox"
121121
className="sap-margin-bottom-tiny sap-margin-begin-small"

0 commit comments

Comments
 (0)