Skip to content

Commit 8190c40

Browse files
committedJun 19, 2022
feat: remove Kubernetes Context and Namespace selector widgets
·
v4.12.6v0.0.18
1 parent 80cc0bf commit 8190c40

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎plugins/plugin-client-default/src/index.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
import React from "react"
1818

1919
import { Capabilities } from "@kui-shell/core"
20-
import { Kui, KuiProps, ContextWidgets, MeterWidgets } from "@kui-shell/plugin-client-common"
20+
import { Kui, KuiProps, ContextWidgets, MeterWidgets, SpaceFiller } from "@kui-shell/plugin-client-common"
2121

22-
import { CurrentContext, CurrentNamespace } from "@kui-shell/plugin-kubectl/components"
22+
// import { CurrentContext, CurrentNamespace } from "@kui-shell/plugin-kubectl/components"
2323
import { Search } from "@kui-shell/plugin-electron-components"
2424

2525
import { version } from "@kui-shell/client/package.json"
@@ -56,11 +56,13 @@ export default function renderMain(props: KuiProps) {
5656
quietExecCommand={false}
5757
toplevel={!Capabilities.inBrowser() && <Search />}
5858
>
59-
<ContextWidgets></ContextWidgets>
59+
<ContextWidgets>
60+
{/* <CurrentContext />
61+
<CurrentNamespace /> */}
62+
</ContextWidgets>
6063

64+
<SpaceFiller/>
6165
<MeterWidgets>
62-
<CurrentContext />
63-
<CurrentNamespace />
6466
</MeterWidgets>
6567
</Kui>
6668
)

0 commit comments

Comments
 (0)
Please sign in to comment.