make form completted button configurable

This commit is contained in:
DocuSeal
2023-09-29 01:24:39 +03:00
parent 881a2acbfc
commit c651709e45
8 changed files with 53 additions and 2 deletions
@@ -52,6 +52,15 @@
Star on Github
</span>
</a>
<a
v-if="completedButton.url"
:href="completedButton.url"
class="white-button flex items-center space-x-1 w-full"
>
<span>
{{ completedButton.title || 'Back to Website' }}
</span>
</a>
<a
v-if="isDemo"
href="https://docuseal.co/sign_up"
@@ -115,6 +124,11 @@ export default {
type: Boolean,
required: false,
default: false
},
completedButton: {
type: Object,
required: false,
default: () => ({})
}
},
data () {