mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix issues with crd plugins (#243)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
298636b8f1
commit
4cd616bf65
8 files changed
+14
-39
No files matched your search
+1
-1
@@ -139,4 +139,4 @@ export class CertificateDetails extends React.Component<Props> {
|
||||
|
||||
apiManager.registerViews(certificatesApi, {
|
||||
Details: CertificateDetails
|
||||
})
|
||||
})
|
||||
@@ -101,5 +101,5 @@ export function CertificateMenu(props: KubeObjectMenuProps<Certificate>) {
|
||||
|
||||
apiManager.registerViews(certificatesApi, {
|
||||
List: Certificates,
|
||||
Menu: CertificateMenu,
|
||||
})
|
||||
Menu: CertificateMenu
|
||||
})
|
||||
@@ -14,9 +14,6 @@ export class CRDStore extends KubeObjectStore<CustomResourceDefinition> {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// auto-load crd-s for building sub-menus
|
||||
this.loadAll();
|
||||
|
||||
// auto-init stores for crd-s
|
||||
reaction(() => this.items.toJS(), items => {
|
||||
items.forEach(this.initStore);
|
||||
|
||||
Reference in new issue
Block a user