File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 117117 <NcDialog v-if =" filesStore.identifyingSigner"
118118 id =" request-signature-identify-signer"
119119 :size =" size"
120- :name =" t('libresign', 'Add new signer') "
120+ :name =" modalTitle "
121121 @closing =" filesStore.disableIdentifySigner()" >
122- <NcAppSidebar :name =" t('libresign', 'Add new signer') " >
122+ <NcAppSidebar :name =" modalTitle " >
123123 <NcAppSidebarTab v-for =" method in enabledMethods()"
124124 :id =" `tab-${method.name}`"
125125 :key =" method.name"
@@ -314,6 +314,12 @@ export default {
314314 size () {
315315 return window .matchMedia (' (max-width: 512px)' ).matches ? ' full' : ' normal'
316316 },
317+ modalTitle () {
318+ if (Object .keys (this .signerToEdit ).length > 0 ) {
319+ return this .t (' libresign' , ' Edit signer' )
320+ }
321+ return this .t (' libresign' , ' Add new signer' )
322+ },
317323 },
318324 watch: {
319325 signers (signers ) {
You can’t perform that action at this time.
0 commit comments