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 committed by backportbot-libresign[bot]
parent 71cb2d3f9e
commit b168b622bc

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