Browse Source

auto commit

dev8
jfinn 4 years ago
parent
commit
f6dc247de9
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      rdev/hooks/Hooks.js

+ 3
- 0
rdev/hooks/Hooks.js View File

@@ -15,6 +15,9 @@ MiddlewareRegistry.register(store => next => action => {
15 15
 
16 16
 	if (o && o.prevent){
17 17
 		clog(":prevent:")
18
+		if ("ret" in o){
19
+			return o.ret
20
+		}
18 21
 	} else {
19 22
 	return next(action);
20 23
 

Loading…
Cancel
Save