From 0d1009022ba153db601c18bdedc51822831bd01c Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 5 Jul 2020 13:53:01 +0200 Subject: [PATCH] WIP: Extract interaction with store into service --- src/app/vorgang.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/vorgang.service.ts b/src/app/vorgang.service.ts index 6d5cca4..ec4025c 100644 --- a/src/app/vorgang.service.ts +++ b/src/app/vorgang.service.ts @@ -54,7 +54,7 @@ export class VorgangService { this.store.dispatch(reset()); } - Observable observe() { + observe(): Observable { return this.store.pipe(select('vorgang'), map(vorgang => vorgang.counter)); } -- 2.20.1