mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0f3f5611ba
commit
1477bb8274
531 files changed
+3979
-3975
No files matched your search
@@ -3,6 +3,6 @@ import { buildURL } from "../../../common/utils/buildUrl";
|
||||
|
||||
export const extensionsRoute: RouteProps = {
|
||||
path: "/extensions"
|
||||
}
|
||||
};
|
||||
|
||||
export const extensionsURL = buildURL(extensionsRoute.path)
|
||||
export const extensionsURL = buildURL(extensionsRoute.path);
|
||||
@@ -24,8 +24,8 @@ export class Extensions extends React.Component {
|
||||
return [
|
||||
name.toLowerCase().includes(searchText),
|
||||
description.toLowerCase().includes(searchText),
|
||||
].some(v => v)
|
||||
})
|
||||
].some(v => v);
|
||||
});
|
||||
}
|
||||
|
||||
get extensionsPath() {
|
||||
@@ -55,7 +55,7 @@ export class Extensions extends React.Component {
|
||||
Check out documentation to <a href="https://docs.k8slens.dev/" target="_blank">learn more</a>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
renderExtensions() {
|
||||
@@ -66,7 +66,7 @@ export class Extensions extends React.Component {
|
||||
{search && <Trans>No search results found</Trans>}
|
||||
{!search && <p><Trans>There are no extensions in</Trans> <code>{extensionsPath}</code></p>}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
return extensions.map(ext => {
|
||||
const { manifestPath: extId, isEnabled, manifest } = ext;
|
||||
@@ -88,8 +88,8 @@ export class Extensions extends React.Component {
|
||||
<Button accent onClick={() => ext.isEnabled = false}>Disable</Button>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
})
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from "./extensions.route"
|
||||
export * from "./extensions"
|
||||
export * from "./extensions.route";
|
||||
export * from "./extensions";
|
||||
Reference in new issue
Block a user