mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Simplify object. Remove unnecessary action.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
parent
5452405692
commit
16e8e6cf7a
@ -322,10 +322,8 @@ export class ExtensionLoader {
|
||||
this.instances.set(extId, instance);
|
||||
|
||||
return {
|
||||
extId,
|
||||
instance,
|
||||
installedExtension: extension,
|
||||
isBundled: extension.isBundled,
|
||||
activated: instance.activate(),
|
||||
};
|
||||
} catch (err) {
|
||||
@ -358,7 +356,7 @@ export class ExtensionLoader {
|
||||
});
|
||||
|
||||
return {
|
||||
isBundled: extension.isBundled,
|
||||
isBundled: extension.installedExtension.isBundled,
|
||||
loaded,
|
||||
};
|
||||
});
|
||||
|
||||
@ -112,7 +112,6 @@ export class LensExtension {
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
async activate(): Promise<void> {
|
||||
return this.onActivate();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user