aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/SharedStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r--packages/shared/src/stores/SharedStore.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts
index a04f4bf..fc8372e 100644
--- a/packages/shared/src/stores/SharedStore.ts
+++ b/packages/shared/src/stores/SharedStore.ts
@@ -32,8 +32,10 @@ import { service } from './Service';
32 32
33export const sharedStore = types.model('SharedStore', { 33export const sharedStore = types.model('SharedStore', {
34 settings: types.optional(globalSettings, {}), 34 settings: types.optional(globalSettings, {}),
35 profiles: types.array(profile), 35 profilesById: types.map(profile),
36 services: types.array(service), 36 profiles: types.array(types.reference(profile)),
37 servicesById: types.map(service),
38 services: types.array(types.reference(service)),
37 selectedService: types.safeReference(service), 39 selectedService: types.safeReference(service),
38 shouldUseDarkColors: false, 40 shouldUseDarkColors: false,
39}); 41});