aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/RecipesStore.ts
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-08-15 23:38:04 +0000
committerLibravatar GitHub <noreply@github.com>2023-08-16 05:08:04 +0530
commitcbd0da469c4f509e8f4ff3ee530fabffa22983a8 (patch)
treed258d83209b2aa16ca05cb6b46a807a929c7636b /src/stores/RecipesStore.ts
parentUpgrade 'electron' to '26.0.0' (diff)
downloadferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.tar.gz
ferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.tar.zst
ferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.zip
Upgrade npm modules (#1312)
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;