aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/RecipesStore.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-18 10:58:07 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-18 10:58:07 +0200
commit0faea6ebfe7d7b69436f073e31c45114dc3f3cbd (patch)
tree3744511115542d08d16e425657555e2dbe74db85 /src/stores/RecipesStore.js
parentImplement #129 (diff)
parentMerge pull request #130 from getferdi/l10n_develop (diff)
downloadferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.gz
ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.zst
ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.zip
Merge branch 'develop' of https://github.com/getferdi/ferdi into develop
Diffstat (limited to 'src/stores/RecipesStore.js')
-rw-r--r--src/stores/RecipesStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/RecipesStore.js b/src/stores/RecipesStore.js
index 7f91049df..8b2bde5df 100644
--- a/src/stores/RecipesStore.js
+++ b/src/stores/RecipesStore.js
@@ -108,7 +108,7 @@ export default class RecipesStore extends Store {
108 async _checkIfRecipeIsInstalled() { 108 async _checkIfRecipeIsInstalled() {
109 const { router } = this.stores; 109 const { router } = this.stores;
110 110
111 const match = matchRoute('/settings/services/add/:id', router.location.pathname); 111 const match = router.location && matchRoute('/settings/services/add/:id', router.location.pathname);
112 if (match) { 112 if (match) {
113 const recipeId = match.id; 113 const recipeId = match.id;
114 114