Skip to content

Commit 79945fa

Browse files
committed
fix flow
1 parent e37a4a2 commit 79945fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mobile-ui/src/components/flow/domain/FlowButtonClickContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class FlowButtonClickContext {
183183
if (this.flowStateContext?.hasRecordId()) {
184184
customHandler();
185185
} else {
186-
this.flowEventContext?.trySubmitFlow((res) => {
186+
this.flowEventContext?.startFlow((res) => {
187187
customHandler();
188188
});
189189
}
@@ -198,7 +198,7 @@ export class FlowButtonClickContext {
198198
if (this.flowStateContext?.hasRecordId()) {
199199
viewHandler();
200200
}else {
201-
this.flowEventContext?.trySubmitFlow((res) => {
201+
this.flowEventContext?.startFlow((res) => {
202202
viewHandler();
203203
});
204204
}

0 commit comments

Comments
 (0)