aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Settings.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/models/Settings.js b/src/models/Settings.js
index f58c05b38..6b41b5d95 100644
--- a/src/models/Settings.js
+++ b/src/models/Settings.js
@@ -29,11 +29,14 @@ export default class Settings {
29 appStarts: 0, 29 appStarts: 0,
30 } 30 }
31 31
32 constructor({ app, service, group, stats }) { 32 @observable migration = {}
33
34 constructor({ app, service, group, stats, migration }) {
33 Object.assign(this.app, app); 35 Object.assign(this.app, app);
34 Object.assign(this.service, service); 36 Object.assign(this.service, service);
35 Object.assign(this.group, group); 37 Object.assign(this.group, group);
36 Object.assign(this.stats, stats); 38 Object.assign(this.stats, stats);
39 Object.assign(this.migration, migration);
37 } 40 }
38 41
39 update(data) { 42 update(data) {