Skip to content

Commit 169f03f

Browse files
committed
fix: make equals to main branch
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 5051317 commit 169f03f

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

src/views/Validation.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ const signRequestUuidForProgress = computed(() => {
278278
const isAfterSigned = computed(() => history.state?.isAfterSigned ?? shouldFireAsyncConfetti.value ?? false)
279279
280280
const isEnvelope = computed(() => document.value?.nodeType === 'envelope')
281+
281282
const validationComponent = computed(() => (isEnvelope.value ? EnvelopeValidation : FileValidation))
282283
const validationDocument = computed(() => document.value)
283284
const validationEnvelopeDocument = computed<LoadedValidationEnvelopeDocumentState | null>(() => (isLoadedValidationEnvelopeDocument(document.value) ? document.value : null))
@@ -362,12 +363,6 @@ function dateFromSqlAnsi(date: string) {
362363
return Moment(Date.parse(date)).format('LL LTS')
363364
}
364365
365-
function toggleDetail(_signer: SignerDetailRecord) {
366-
}
367-
368-
function toggleFileDetail(_file: ValidatedChildFileRecord) {
369-
}
370-
371366
function getSignerStatus(status: string) {
372367
const statusMap: Record<string, string> = {
373368
pending: t('libresign', 'Pending'),
@@ -861,6 +856,8 @@ defineExpose({
861856
loading,
862857
document,
863858
validationDocument,
859+
validationEnvelopeDocument,
860+
validationFileDocument,
864861
legalInformation,
865862
clickedValidate,
866863
getUUID,
@@ -884,15 +881,11 @@ defineExpose({
884881
helperTextValidation,
885882
size,
886883
documentStatus,
887-
validationEnvelopeDocument,
888-
validationFileDocument,
889884
validityStatusMap,
890885
crlStatusMap,
891886
upload,
892887
uploadFile,
893888
dateFromSqlAnsi,
894-
toggleDetail,
895-
toggleFileDetail,
896889
getSignerStatus,
897890
validate,
898891
validateByUUID,

0 commit comments

Comments
 (0)