diff --git a/package-lock.json b/package-lock.json
index 95a740d..8d90016 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,7 +11,7 @@
"@ant-design/icons": "5.6.0",
"@monaco-editor/react": "4.6.0",
"@originjs/vite-plugin-federation": "1.3.6",
- "@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.126",
+ "@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.127",
"@readme/openapi-parser": "4.0.0",
"@reduxjs/toolkit": "2.2.5",
"@tanstack/react-query": "5.62.2",
@@ -2804,9 +2804,9 @@
}
},
"node_modules/@prorobotech/openapi-k8s-toolkit": {
- "version": "0.0.1-alpha.126",
- "resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.126.tgz",
- "integrity": "sha512-sTEz+LeMhddSOnhOEtFmH1KNHwANVAkuaoF++umrnIQ1msMKLRCbCNHEeH7glQYr10D7HJQCwlgyplRCtUmvAg==",
+ "version": "0.0.1-alpha.127",
+ "resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.127.tgz",
+ "integrity": "sha512-2FWxPJxiEyhBgJq+dqdDKn0SVCG8MlwN5vDF0V/7xpXhbfQk/h9tduFf+KAofPIPJWSyBfAgWcAS83b7/TLwsw==",
"license": "MIT",
"dependencies": {
"@monaco-editor/react": "4.6.0",
diff --git a/package.json b/package.json
index 076b7da..7f81aa2 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"@ant-design/icons": "5.6.0",
"@monaco-editor/react": "4.6.0",
"@originjs/vite-plugin-federation": "1.3.6",
- "@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.126",
+ "@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.127",
"@readme/openapi-parser": "4.0.0",
"@reduxjs/toolkit": "2.2.5",
"@tanstack/react-query": "5.62.2",
diff --git a/src/components/organisms/Search/Search.tsx b/src/components/organisms/Search/Search.tsx
index 020d809..9bcb68f 100644
--- a/src/components/organisms/Search/Search.tsx
+++ b/src/components/organisms/Search/Search.tsx
@@ -8,7 +8,7 @@ import {
TKindIndex,
TKindWithVersion,
getKinds,
- getSortedKinds,
+ getSortedKindsAll,
LookingGlassIcon,
} from '@prorobotech/openapi-k8s-toolkit'
import { ConfigProvider, theme as antdtheme, Form, Spin, Alert } from 'antd'
@@ -103,7 +103,7 @@ export const Search: FC = () => {
getKinds({ clusterName: cluster })
.then(data => {
setKindIndex(data)
- setKindWithVersion(getSortedKinds(data))
+ setKindWithVersion(getSortedKindsAll(data))
setIsLoading(false)
setError(undefined)
})
@@ -262,6 +262,9 @@ export const Search: FC = () => {
return
}
+ console.log(kindIndex)
+ console.log(kindsWithVersion)
+
return (