We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a043980 commit cd5fa61Copy full SHA for cd5fa61
src/component/workflow.ts
@@ -199,15 +199,15 @@ export class Workflow {
199
}
200
break;
201
case Process.preFetch:
202
- if (payload === Process.userClip) {
+ const userClip = payload === Process.userClip;
203
+ if (status === Status.done && !userClip) {
204
+ run(End)(process);
205
+ }
206
+ if (status === Status.next && !userClip) {
207
+ run(Fetch)();
208
209
+ if (userClip) {
210
run(PreClip)();
- } else {
- if (status === Status.done) {
- run(End)(process);
- }
- if (status === Status.next) {
- run(Fetch)();
211
212
213
case Process.fetch:
0 commit comments