diff options
Diffstat (limited to 'src/stores/ServicesStore.ts')
-rw-r--r-- | src/stores/ServicesStore.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts index 44f8b277c..7f4693cad 100644 --- a/src/stores/ServicesStore.ts +++ b/src/stores/ServicesStore.ts | |||
@@ -435,7 +435,7 @@ export default class ServicesStore extends TypedStore { | |||
435 | 435 | ||
436 | // TODO: This can actually return undefined as well | 436 | // TODO: This can actually return undefined as well |
437 | one(id: string): Service { | 437 | one(id: string): Service { |
438 | return this.all.find(service => service.id === id) as Service; | 438 | return this.all.find(service => service.id === id)!; |
439 | } | 439 | } |
440 | 440 | ||
441 | async _showAddServiceInterface({ recipeId }) { | 441 | async _showAddServiceInterface({ recipeId }) { |