File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 :text =" method"
2424 :aria-label =" t('libresign', 'Identification method: {method}', { method })"
2525 :no-close =" true" />
26- <NcChip :text =" signer.statusText"
26+ <NcChip :text =" signer.statusText ?? '' "
2727 :variant =" chipType"
2828 :icon-path =" statusIconPath"
29- :aria-label =" t('libresign', 'Signer status: {status}', { status: signer.statusText })"
29+ :aria-label =" t('libresign', 'Signer status: {status}', { status: signer.statusText ?? '' })"
3030 :no-close =" true"
3131 class =" signer-status-chip" />
3232 <span v-if =" disabledTooltip" class =" sr-only" >{{ disabledTooltip }}</span >
@@ -76,6 +76,7 @@ type SignerRow = {
7676 signed? : boolean
7777 identifyMethods? : SignerMethod []
7878 status? : number
79+ statusText? : string
7980 displayName? : string
8081 signingOrder? : number
8182}
@@ -99,7 +100,7 @@ const signatureFlow = computed(() => {
99100 const file = filesStore .getFile ()
100101 let flow = file ?.signatureFlow ?? ' parallel'
101102 if (typeof flow === ' number' ) {
102- const flowMap = { 0 : ' none' , 1 : ' parallel' , 2 : ' ordered_numeric' }
103+ const flowMap: Record < number , string > = { 0 : ' none' , 1 : ' parallel' , 2 : ' ordered_numeric' }
103104 flow = flowMap [flow ] || ' parallel'
104105 }
105106 return flow
You can’t perform that action at this time.
0 commit comments