mobx 6.2.0

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-04-13 12:16:03 +03:00
1 parent bbfad2f35f
commit 2eb512a85c
12 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -41,7 +41,7 @@ export class ExtensionLoader {
whenLoaded = when(() => this.isLoaded);
@computed get userExtensions(): Map<LensExtensionId, InstalledExtension> {
const extensions = this.extensions.toJS();
const extensions = toJS(this.extensions);
extensions.forEach((ext, extId) => {
if (ext.isBundled) {
@@ -55,7 +55,7 @@ export class ExtensionLoader {
@computed get userExtensionsByName(): Map<string, LensExtension> {
const extensions = new Map();
for (const [, val] of this.instances.toJS()) {
for (const [, val] of toJS(this.instances)) {
if (val.isBundled) {
continue;
}