aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/RecipePreview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-13 00:45:01 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-13 00:45:01 +0530
commit2d27d5e66649d4f5baf127a53ee5ae524eae3a59 (patch)
treec592ea219ac8cd987fc367f57b54034c450ab2ab /src/models/RecipePreview.js
parentFerdi v5.6.0 (diff)
parent5.6.1-nightly.24 [skip ci] (diff)
downloadferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.gz
ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.zst
ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.zip
chore: merge from nightly branch into release branch in prep for next beta
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');