Skip to content

Commit 5dc1e91

Browse files
authored
Fixes issue #92
No longer consuming the result of digest.
1 parent 152fa79 commit 5dc1e91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/digestMiddleware.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export default function digestMiddleware($rootScope) {
22
return store => next => action => {
3-
$rootScope.$evalAsync(next(action));
3+
const res = next(action);
4+
$rootScope.$evalAsync(res);
5+
return res;
46
};
57
}

0 commit comments

Comments
 (0)