Skip to content

Commit 67d7cc7

Browse files
committed
feat: disable the Kui Search component
We should instead use more specific search capabilities, such as #233
1 parent f235366 commit 67d7cc7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616

1717
import React from "react"
1818

19-
import { Capabilities } from "@kui-shell/core"
2019
import { Kui, KuiProps, ContextWidgets, GitHubIcon, MeterWidgets, SpaceFiller } from "@kui-shell/plugin-client-common"
2120

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

2524
import { version } from "@kui-shell/client/package.json"
2625
import { productTitle } from "@kui-shell/client/config.d/name.json"
@@ -45,6 +44,7 @@ import CodeFlareWidget from "./CodeFlareWidget"
4544
// }
4645

4746
export default function renderMain(props: KuiProps) {
47+
// toplevel={!Capabilities.inBrowser() && <Search />}
4848
return (
4949
<Kui
5050
noHelp
@@ -57,7 +57,6 @@ export default function renderMain(props: KuiProps) {
5757
initialTabTitle="Dashboard"
5858
isPopup={false}
5959
quietExecCommand={false}
60-
toplevel={!Capabilities.inBrowser() && <Search />}
6160
>
6261
<ContextWidgets>
6362
<GitHubIcon />

0 commit comments

Comments
 (0)