diff options
author | 2017-12-15 14:00:17 +0100 | |
---|---|---|
committer | 2017-12-15 14:00:17 +0100 | |
commit | 03610f2dd6833b3b6358790d044b852c154b4bf3 (patch) | |
tree | a48a18458304a10f63c16ed108ccd2d87b91823b /src/models/Recipe.js | |
parent | fix(Recipes): Enable `urlInputPrefix` for team and customURL (diff) | |
download | ferdium-app-03610f2dd6833b3b6358790d044b852c154b4bf3.tar.gz ferdium-app-03610f2dd6833b3b6358790d044b852c154b4bf3.tar.zst ferdium-app-03610f2dd6833b3b6358790d044b852c154b4bf3.zip |
feat(Recipes): Add `hasHostedOption` to enable hosted & self hosted services
Diffstat (limited to 'src/models/Recipe.js')
-rw-r--r-- | src/models/Recipe.js | 2 |
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; |