mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
resolve pr comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f97002828f
commit
0062395550
@ -53,17 +53,17 @@ export class ExtensionLoader {
|
||||
}
|
||||
|
||||
@computed get userExtensionsByName(): Map<string, LensExtension> {
|
||||
const res = new Map();
|
||||
const extensions = new Map();
|
||||
|
||||
for (const [, val] of this.instances.toJS()) {
|
||||
if (val.isBundled) {
|
||||
continue;
|
||||
}
|
||||
|
||||
res.set(val.manifest.name, val);
|
||||
extensions.set(val.manifest.name, val);
|
||||
}
|
||||
|
||||
return res;
|
||||
return extensions;
|
||||
}
|
||||
|
||||
// Transform userExtensions to a state object for storing into ExtensionsStore
|
||||
|
||||
Loading…
Reference in New Issue
Block a user