mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix side bar scrolls after clicking on lower item (#928)
* fix bug: side bar scrolls after clicking on lower item Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com> * fix issue main area missing issue, add mobx observer to TabLayout Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com> Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com>
This commit is contained in:
1 parent
9a10db837e
commit
cb3ab09b42
18 files changed
+185
-154
No files matched your search
@@ -4,7 +4,7 @@ import { observer } from "mobx-react";
|
||||
import { RouteComponentProps } from "react-router";
|
||||
import { t, Trans } from "@lingui/macro";
|
||||
import { cssNames, interval } from "../../utils";
|
||||
import { MainLayout } from "../layout/main-layout";
|
||||
import { TabLayout } from "../layout/tab-layout";
|
||||
import { nodesStore } from "./nodes.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { KubeObjectListLayout } from "../kube-object";
|
||||
@@ -123,7 +123,7 @@ export class Nodes extends React.Component<Props> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<MainLayout>
|
||||
<TabLayout>
|
||||
<KubeObjectListLayout
|
||||
className="Nodes"
|
||||
store={nodesStore} isClusterScoped
|
||||
@@ -182,7 +182,7 @@ export class Nodes extends React.Component<Props> {
|
||||
return <NodeMenu object={item}/>
|
||||
}}
|
||||
/>
|
||||
</MainLayout>
|
||||
</TabLayout>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user