aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/store.ts')
-rw-r--r--src/features/todos/store.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/features/todos/store.ts b/src/features/todos/store.ts
index bff099eb1..94be4db6a 100644
--- a/src/features/todos/store.ts
+++ b/src/features/todos/store.ts
@@ -197,13 +197,15 @@ export default class TodoStore extends FeatureStore {
197 }) => { 197 }) => {
198 debug('_handleClientMessage', channel, message); 198 debug('_handleClientMessage', channel, message);
199 switch (message.action) { 199 switch (message.action) {
200 case 'todos:initialized': 200 case 'todos:initialized': {
201 this._onTodosClientInitialized(); 201 this._onTodosClientInitialized();
202 break; 202 break;
203 case 'todos:goToService': 203 }
204 case 'todos:goToService': {
204 this._goToService(message.data); 205 this._goToService(message.data);
205 break; 206 break;
206 default: 207 }
208 default: {
207 debug('Other message received', channel, message); 209 debug('Other message received', channel, message);
208 if (this.stores.services.isTodosServiceAdded && this.actions) { 210 if (this.stores.services.isTodosServiceAdded && this.actions) {
209 this.actions.service.handleIPCMessage({ 211 this.actions.service.handleIPCMessage({
@@ -212,6 +214,7 @@ export default class TodoStore extends FeatureStore {
212 args: message, 214 args: message,
213 }); 215 });
214 } 216 }
217 }
215 } 218 }
216 }; 219 };
217 220