aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/RecipesStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/RecipesStore.ts')
-rw-r--r--src/stores/RecipesStore.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/RecipesStore.ts b/src/stores/RecipesStore.ts
index b645a5989..9b5565dcf 100644
--- a/src/stores/RecipesStore.ts
+++ b/src/stores/RecipesStore.ts
@@ -158,8 +158,8 @@ export default class RecipesStore extends TypedStore {
158 router.push('/settings/recipes'); 158 router.push('/settings/recipes');
159 debug(`Recipe ${recipeId} is not installed, trying to install it`); 159 debug(`Recipe ${recipeId} is not installed, trying to install it`);
160 160
161 const recipe = await this.installRecipeRequest.execute(recipeId) 161 const recipe =
162 .promise; 162 await this.installRecipeRequest.execute(recipeId).promise;
163 if (recipe) { 163 if (recipe) {
164 await this.allRecipesRequest.invalidate({ immediately: true }) 164 await this.allRecipesRequest.invalidate({ immediately: true })
165 .promise; 165 .promise;