From 664b2c5a0523439c9672248b652df858facf7ff2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 11 Aug 2021 21:01:14 +0530 Subject: refactor: removed legacy properties from recipes (Addendum to getferdi/recipes#605) --- src/features/communityRecipes/store.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/features/communityRecipes') diff --git a/src/features/communityRecipes/store.js b/src/features/communityRecipes/store.js index b115a53e1..a3614dd11 100644 --- a/src/features/communityRecipes/store.js +++ b/src/features/communityRecipes/store.js @@ -19,6 +19,7 @@ export class CommunityRecipesStore extends FeatureStore { if (!this.stores) return []; return this.stores.recipePreviews.dev.map((r) => { + // TODO: Need to figure out if this is even necessary/used r.isDevRecipe = !!r.author.find((a) => a.email === this.stores.user.data.email); return r; -- cgit v1.2.3-54-g00ecf