mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
migration additions -- part 3 (adding makeObservable to constructor)
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user