aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/recipe.js')
-rw-r--r--src/webview/recipe.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js
index 3c8a5326f..102d93642 100644
--- a/src/webview/recipe.js
+++ b/src/webview/recipe.js
@@ -2,7 +2,7 @@
2/* eslint-disable import/first */ 2/* eslint-disable import/first */
3import { contextBridge, ipcRenderer } from 'electron'; 3import { contextBridge, ipcRenderer } from 'electron';
4import { join } from 'path'; 4import { join } from 'path';
5import { autorun, computed, observable } from 'mobx'; 5import { autorun, computed, makeObservable, observable } from 'mobx';
6import { pathExistsSync, readFileSync } from 'fs-extra'; 6import { pathExistsSync, readFileSync } from 'fs-extra';
7import { debounce } from 'lodash'; 7import { debounce } from 'lodash';
8 8
@@ -154,6 +154,8 @@ class RecipeController {
154 hasUpdatedBeforeRecipeLoaded = false; 154 hasUpdatedBeforeRecipeLoaded = false;
155 155
156 constructor() { 156 constructor() {
157 makeObservable(this);
158
157 this.initialize(); 159 this.initialize();
158 } 160 }
159 161