TLS cert per cluster for lens-k8s-proxy (#5081)

Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Jari KolehmainenandSebastian Malton authored and GitHub committed 2022-03-28 08:39:57 -04:00
1 parent 477814f1e0
commit b3574e1a21
16 files changed
+82 -137

No files matched your search

+3 -2
View File
@@ -57,8 +57,9 @@ const NonInjectedLogsDockTab = observer(({ className, tab, model, subscribeStore
setTimeout(() => {
const overlay = document.querySelector(".PodLogs .list span.active");
if (!overlay) return;
overlay.scrollIntoViewIfNeeded();
if (typeof overlay?.scrollIntoViewIfNeeded === "function") {
overlay.scrollIntoViewIfNeeded();
}
}, 100);
};
+3 -1
View File
@@ -81,7 +81,9 @@ export class Tab extends React.PureComponent<TabProps> {
}
scrollIntoView() {
this.ref.current?.scrollIntoViewIfNeeded();
if (typeof this.ref.current?.scrollIntoViewIfNeeded === "function") {
this.ref.current.scrollIntoViewIfNeeded();
}
}
@boundMethod