aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/ServicesStore.ts')
-rw-r--r--src/stores/ServicesStore.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts
index 9c15d3a07..44f8b277c 100644
--- a/src/stores/ServicesStore.ts
+++ b/src/stores/ServicesStore.ts
@@ -425,12 +425,12 @@ export default class ServicesStore extends TypedStore {
425 return ( 425 return (
426 this.allDisplayed.find( 426 this.allDisplayed.find(
427 service => service.isTodosService && service.isEnabled, 427 service => service.isTodosService && service.isEnabled,
428 ) || false 428 ) ?? false
429 ); 429 );
430 } 430 }
431 431
432 @computed get isTodosServiceActive() { 432 @computed get isTodosServiceActive() {
433 return this.active && this.active.isTodosService; 433 return this.active?.isTodosService;
434 } 434 }
435 435
436 // TODO: This can actually return undefined as well 436 // TODO: This can actually return undefined as well