Skip to content

Commit 2944d98

Browse files
committed
fix: review previous commit
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 57ca656 commit 2944d98

20 files changed

Lines changed: 69 additions & 67 deletions

src/components/FooterTemplateEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default {
219219
this.previewWidth = response.data.ocs.data.preview_width
220220
this.saveFooterTemplate()
221221
})
222-
},
222+
},
223223
methods: {
224224
t,
225225
getVariableText(name) {
@@ -275,7 +275,7 @@ export default {
275275
template: this.footerTemplate,
276276
width: Number(this.previewWidth),
277277
height: Number(this.previewHeight),
278-
},
278+
},
279279
{ responseType: 'blob' }
280280
).then(response => {
281281
this.setPdfPreview(response.data)

src/components/Request/IdentifySigner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default {
227227
{
228228
method: this.signer.method,
229229
value: this.signer.id,
230-
},
230+
},
231231
],
232232
})
233233

src/components/Request/RequestPicker.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export default {
372372
await this.filesStore.upload({
373373
file: {
374374
url: this.pdfUrl,
375-
},
375+
},
376376
})
377377
.then((id) => {
378378
this.filesStore.selectFile(id)
@@ -398,7 +398,7 @@ export default {
398398
title: this.t('libresign', 'Envelope name'),
399399
label: this.t('libresign', 'Enter a name for the envelope'),
400400
placeholder: this.t('libresign', 'Envelope name'),
401-
},
401+
},
402402
)
403403
404404
if (envelopeName) {
@@ -430,7 +430,7 @@ export default {
430430
await this.filesStore.upload({
431431
file: {
432432
path,
433-
},
433+
},
434434
name: path.match(/([^/]*?)(?:\.[^.]*)?$/)[1] ?? '',
435435
})
436436
.then((id) => {

src/components/Request/SignerSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default {
167167
params: {
168168
search,
169169
method: this.method,
170-
},
170+
},
171171
})
172172
if (requestId !== this.activeRequestId) {
173173
return

src/components/Request/VisibleElements.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export default {
222222
params: {
223223
parentFileId: this.document.id,
224224
force_fetch: true,
225-
},
225+
},
226226
})
227227
const childFiles = response?.data?.ocs?.data?.data || []
228228
this.document.files = Array.isArray(childFiles) ? childFiles : []

src/components/RightSidebar/EnvelopeFilesList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export default {
213213
title: '',
214214
message: '',
215215
action: null,
216-
},
216+
},
217217
uploadProgress: 0,
218218
isUploading: false,
219219
uploadAbortController: null,
@@ -249,7 +249,7 @@ export default {
249249
callback: () => {
250250
this.showDeleteDialog = false
251251
},
252-
},
252+
},
253253
{
254254
label: this.t('libresign', 'Delete'),
255255
type: 'error',
@@ -259,7 +259,7 @@ export default {
259259
this.deleteDialogConfig.action()
260260
}
261261
},
262-
},
262+
},
263263
]
264264
},
265265
selectedCount() {

src/components/validation/SignerDetails.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ import {
261261
export default {
262262
name: 'SignerDetails',
263263
components: {
264+
CertificateChain,
264265
NcAvatar,
265266
NcButton,
266267
NcIconSvgWrapper,
@@ -312,7 +313,7 @@ export default {
312313
urls_inaccessible: { icon: mdiHelpCircle, text: t('libresign', 'CRL: URLs inaccessible'), class: 'icon-warning' },
313314
validation_failed: { icon: mdiHelpCircle, text: t('libresign', 'CRL: Validation failed'), class: 'icon-warning' },
314315
validation_error: { icon: mdiHelpCircle, text: t('libresign', 'CRL: Validation error'), class: 'icon-warning' },
315-
},
316+
},
316317
}
317318
},
318319
methods: {

src/views/CrlManagement/CrlManagement.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,21 +375,21 @@ export default {
375375
serialNumber: userConfigStore.crl_filters?.serialNumber || '',
376376
status: userConfigStore.crl_filters?.status || null,
377377
owner: userConfigStore.crl_filters?.owner || '',
378-
},
378+
},
379379
sortBy: userConfigStore.crl_sort.sortBy || 'revoked_at',
380380
sortOrder: userConfigStore.crl_sort.sortOrder || 'DESC',
381381
caWarningDialog: {
382382
open: false,
383383
entry: null,
384384
typeLabel: '',
385-
},
385+
},
386386
revokeDialog: {
387387
open: false,
388388
entry: null,
389389
reasonCode: { value: 0, label: '' },
390390
reasonText: '',
391391
loading: false,
392-
},
392+
},
393393
statusOptions: [
394394
{ value: 'issued', label: this.t('libresign', 'Issued') },
395395
{ value: 'revoked', label: this.t('libresign', 'Revoked') },
@@ -406,7 +406,7 @@ export default {
406406
8: this.t('libresign', 'Remove from CRL'),
407407
9: this.t('libresign', 'Privilege Withdrawn'),
408408
10: this.t('libresign', 'AA Compromise'),
409-
},
409+
},
410410
reasonCodeOptions: [
411411
{ value: 0, label: this.t('libresign', 'Unspecified') },
412412
{ value: 1, label: this.t('libresign', 'Key Compromise') },

src/views/FilesList/FileEntry/FileEntryActions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export default {
239239
name: 'SignPDF',
240240
params: {
241241
uuid: signUuid,
242-
},
242+
},
243243
})
244244
this.filesStore.selectFile(this.source.id)
245245
this.sidebarStore.activeRequestSignatureTab()
@@ -248,7 +248,7 @@ export default {
248248
name: 'ValidationFile',
249249
params: {
250250
uuid: this.source.uuid,
251-
},
251+
},
252252
})
253253
} else if (action.id === 'delete') {
254254
this.confirmDelete = true

src/views/FilesList/FileEntry/FileEntryName.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default {
9191
'aria-label': this.basename,
9292
title: this.basename,
9393
tabindex: '0',
94-
},
94+
},
9595
}
9696
},
9797
},

0 commit comments

Comments
 (0)