migration additions -- part 3 (adding makeObservable to constructor)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-04-20 13:45:35 +03:00
1 parent 95794af5b2
commit 08787dce1f
139 files changed
+732 -147

No files matched your search

@@ -1,4 +1,4 @@
import { action, autorun, IReactionDisposer, reaction } from "mobx";
import { action, autorun, IReactionDisposer, reaction, makeObservable } from "mobx";
import { dockStore, IDockTab, TabId, TabKind } from "./dock.store";
import { DockTabStore } from "./dock-tab.store";
import { HelmRelease, helmReleasesApi } from "../../api/endpoints/helm-releases.api";
@@ -19,6 +19,8 @@ export class UpgradeChartStore extends DockTabStore<IChartUpgradeData> {
storageKey: "chart_releases"
});
makeObservable(this);
autorun(() => {
const { selectedTab, isOpen } = dockStore;