aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-15 14:41:49 +0100
committerLibravatar GitHub <noreply@github.com>2017-12-15 14:41:49 +0100
commit19c45a41cdd8051ecd97cf90ca98b0e8a13c98fb (patch)
tree50c2b2512d15cae8525889714e1f003a17371ed7 /src/models
parentMerge pull request #469 from meetfranz/feature/hide-badge (diff)
parentAdd missing translation strings (diff)
downloadferdium-app-19c45a41cdd8051ecd97cf90ca98b0e8a13c98fb.tar.gz
ferdium-app-19c45a41cdd8051ecd97cf90ca98b0e8a13c98fb.tar.zst
ferdium-app-19c45a41cdd8051ecd97cf90ca98b0e8a13c98fb.zip
Merge pull request #474 from meetfranz/feature/service-improvements
[PR] Service improvements
Diffstat (limited to 'src/models')
-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;