aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/Recipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/Recipe.js')
-rw-r--r--src/models/Recipe.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models/Recipe.js b/src/models/Recipe.js
index 9971df77c..036d6d216 100644
--- a/src/models/Recipe.js
+++ b/src/models/Recipe.js
@@ -15,6 +15,7 @@ export default class Recipe {
15 hasTeamId = false; 15 hasTeamId = false;
16 hasPredefinedUrl = false; 16 hasPredefinedUrl = false;
17 hasCustomUrl = false; 17 hasCustomUrl = false;
18 hasHostedOption = false;
18 urlInputPrefix = ''; 19 urlInputPrefix = '';
19 urlInputSuffix = ''; 20 urlInputSuffix = '';
20 21
@@ -45,6 +46,7 @@ export default class Recipe {
45 this.hasTeamId = data.config.hasTeamId || this.hasTeamId; 46 this.hasTeamId = data.config.hasTeamId || this.hasTeamId;
46 this.hasPredefinedUrl = data.config.hasPredefinedUrl || this.hasPredefinedUrl; 47 this.hasPredefinedUrl = data.config.hasPredefinedUrl || this.hasPredefinedUrl;
47 this.hasCustomUrl = data.config.hasCustomUrl || this.hasCustomUrl; 48 this.hasCustomUrl = data.config.hasCustomUrl || this.hasCustomUrl;
49 this.hasHostedOption = data.config.hasHostedOption || this.hasHostedOption;
48 50
49 this.urlInputPrefix = data.config.urlInputPrefix || this.urlInputPrefix; 51 this.urlInputPrefix = data.config.urlInputPrefix || this.urlInputPrefix;
50 this.urlInputSuffix = data.config.urlInputSuffix || this.urlInputSuffix; 52 this.urlInputSuffix = data.config.urlInputSuffix || this.urlInputSuffix;