aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/RecipePreview.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/RecipePreview.js')
-rw-r--r--src/models/RecipePreview.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/RecipePreview.js b/src/models/RecipePreview.js
index cfb22f860..6a9ce3080 100644
--- a/src/models/RecipePreview.js
+++ b/src/models/RecipePreview.js
@@ -7,9 +7,10 @@ export default class RecipePreview {
7 7
8 icon = ''; 8 icon = '';
9 9
10 // TODO: check if this isn't replaced by `icons`
11 featured = false; 10 featured = false;
12 11
12 aliases = [];
13
13 constructor(data) { 14 constructor(data) {
14 if (!data.id) { 15 if (!data.id) {
15 throw Error('RecipePreview requires Id'); 16 throw Error('RecipePreview requires Id');