Skip to content

Commit 8d7570b

Browse files
committed
refactor(ui): remove legacy signature flow compatibility mapping
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 457ac5d commit 8d7570b

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/components/RightSidebar/RequestSignatureTab.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -485,15 +485,6 @@ function normalizeSignatureFlow(flow: unknown): SignatureFlowValue | null {
485485
return normalizeSignatureFlow(nestedFlow)
486486
}
487487
488-
// Backward compatibility with legacy string values returned by older payloads.
489-
if (flow === 'sequential') {
490-
return 'ordered_numeric'
491-
}
492-
493-
if (flow === 'simultaneous') {
494-
return 'parallel'
495-
}
496-
497488
if (flow === 'none' || flow === 'parallel' || flow === 'ordered_numeric' || flow === 0 || flow === 1 || flow === 2) {
498489
return flow
499490
}

0 commit comments

Comments
 (0)