fix: only show preserve order toggle with multiple signers

Hide preserve signing order toggle when there's only one signer,
as signing order is not applicable in this case.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
Vitor Mattos 2025-12-17 02:09:35 -03:00
parent 1d90a1dfc0
commit e616899eeb
No known key found for this signature in database
GPG key ID: 6FECE2AD4809003A

View file

@ -379,7 +379,7 @@ export default {
return this.hasSigners && this.filesStore.canSave() && !this.isAdminFlowForced
},
showPreserveOrder() {
return this.hasSigners && this.filesStore.canSave() && !this.isAdminFlowForced
return this.totalSigners > 1 && this.filesStore.canSave() && !this.isAdminFlowForced
},
showViewOrderButton() {
return this.isOrderedNumeric && this.totalSigners > 1 && this.hasSigners