mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove extension when folder is removed during runtime (#1518)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
8739baab5b
commit
4e02e086a9
8 files changed
+228
-34
No files matched your search
@@ -277,6 +277,7 @@ export class Extensions extends React.Component {
|
||||
|
||||
renderExtensions() {
|
||||
const { extensions, extensionsPath, search } = this;
|
||||
|
||||
if (!extensions.length) {
|
||||
return (
|
||||
<div className="no-extensions flex box gaps justify-center">
|
||||
@@ -288,6 +289,7 @@ export class Extensions extends React.Component {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return extensions.map(ext => {
|
||||
const { manifestPath: extId, isEnabled, manifest } = ext;
|
||||
const { name, description } = manifest;
|
||||
|
||||
Reference in new issue
Block a user