mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix BaseRegistry's items observable map
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
57c87a2e71
commit
39f162129b
@ -24,7 +24,7 @@ import { action, observable, makeObservable } from "mobx";
|
|||||||
import { LensExtension } from "../lens-extension";
|
import { LensExtension } from "../lens-extension";
|
||||||
|
|
||||||
export class BaseRegistry<T, I = T> {
|
export class BaseRegistry<T, I = T> {
|
||||||
private items = observable.map<T, I>();
|
private items = observable.map<T, I>([], {deep: false});
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
makeObservable(this);
|
makeObservable(this);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user