diff options
author | 2021-02-08 10:34:45 +0100 | |
---|---|---|
committer | 2021-02-08 10:34:45 +0100 | |
commit | 035002ceedf78d5ec73eabc0df7f06139939b967 (patch) | |
tree | 1c0d1e9531bae05fb65d70b9ea25baf404b74fe1 /src/models/Recipe.js | |
parent | docs: add k0staa as a contributor (#1193) (diff) | |
download | ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.tar.gz ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.tar.zst ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.zip |
Synchronize with Franz 5.6.0 (#1033)
Co-authored-by: FranzBot <i18n@meetfranz.com>
Co-authored-by: vantezzen <hello@vantezzen.io>
Co-authored-by: Makazzz <makazzzpro@live.ca>
Co-authored-by: Stefan Malzner <stefan@adlk.io>
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'src/models/Recipe.js')
-rw-r--r-- | src/models/Recipe.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/Recipe.js b/src/models/Recipe.js index dcb998a19..a20eeb087 100644 --- a/src/models/Recipe.js +++ b/src/models/Recipe.js | |||
@@ -40,6 +40,8 @@ export default class Recipe { | |||
40 | 40 | ||
41 | autoHibernate = false; | 41 | autoHibernate = false; |
42 | 42 | ||
43 | partition = ''; | ||
44 | |||
43 | constructor(data) { | 45 | constructor(data) { |
44 | if (!data) { | 46 | if (!data) { |
45 | throw Error('Recipe config not valid'); | 47 | throw Error('Recipe config not valid'); |
@@ -82,6 +84,8 @@ export default class Recipe { | |||
82 | 84 | ||
83 | this.autoHibernate = data.config.autoHibernate || this.autoHibernate; | 85 | this.autoHibernate = data.config.autoHibernate || this.autoHibernate; |
84 | 86 | ||
87 | this.partition = data.config.partition || this.partition; | ||
88 | |||
85 | this.message = data.config.message || this.message; | 89 | this.message = data.config.message || this.message; |
86 | } | 90 | } |
87 | 91 | ||