1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix BaseRegistry's items observable map (#2889)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2021-05-28 15:01:18 +03:00 committed by GitHub
parent 643b0d861f
commit b322d13d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ import { action, observable, makeObservable } from "mobx";
import { LensExtension } from "../lens-extension";
export class BaseRegistry<T, I = T> {
private items = observable.map<T, I>();
private items = observable.map<T, I>([], {deep: false});
constructor() {
makeObservable(this);