|
|
|
@ -18,16 +18,6 @@
|
|
|
|
>×</a>
|
|
|
|
>×</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
|
|
|
|
v-if="!withConditions"
|
|
|
|
|
|
|
|
class="bg-base-300 rounded-xl py-2 px-3 text-center"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a
|
|
|
|
|
|
|
|
href="https://www.docuseal.com/pricing"
|
|
|
|
|
|
|
|
target="_blank"
|
|
|
|
|
|
|
|
class="link"
|
|
|
|
|
|
|
|
>{{ t('available_in_pro') }}</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form @submit.prevent="validateSaveAndClose">
|
|
|
|
<form @submit.prevent="validateSaveAndClose">
|
|
|
|
<div class="my-4">
|
|
|
|
<div class="my-4">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
@ -216,10 +206,6 @@ export default {
|
|
|
|
return actions
|
|
|
|
return actions
|
|
|
|
},
|
|
|
|
},
|
|
|
|
validateSaveAndClose () {
|
|
|
|
validateSaveAndClose () {
|
|
|
|
if (!this.withConditions) {
|
|
|
|
|
|
|
|
return alert(this.t('available_only_in_pro'))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.conditions.find((f) => f.field_uuid)) {
|
|
|
|
if (this.conditions.find((f) => f.field_uuid)) {
|
|
|
|
this.item.conditions = this.conditions
|
|
|
|
this.item.conditions = this.conditions
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|