Skip to content

Commit

Permalink
Merge pull request #3970 from LibreSign/backport/3967/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: only show return when come from validation button
  • Loading branch information
vitormattos authored Nov 15, 2024
2 parents 955a7d9 + 12469d4 commit c2aac4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/Validation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<h1>{{ title }}</h1>
<NcTextField v-model="myUuid" :label="legend" />
<NcButton type="primary"
@click.prevent="validate(myUuid)">
@click.prevent="clickedValidate = true;validate(myUuid)">
<template #icon>
<NcLoadingIcon v-if="hasLoading" :size="20" />
</template>
Expand Down Expand Up @@ -67,7 +67,8 @@
</div>
</div>
</div>
<NcButton type="primary"
<NcButton v-if="clickedValidate"
type="primary"
@click.prevent="goBack">
{{ t('libresign', 'Return') }}
</NcButton>
Expand Down Expand Up @@ -125,6 +126,7 @@ export default {
document: fileInfo,
documentUuid: '',
legalInformation: '',
clickedValidate: false,
}
},
computed: {
Expand Down

0 comments on commit c2aac4a

Please sign in to comment.