Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions app/javascript/template_builder/conditions_modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@
>&times;</a>
</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">
<div class="my-4">
<div
Expand Down Expand Up @@ -216,10 +206,6 @@ export default {
return actions
},
validateSaveAndClose () {
if (!this.withConditions) {
return alert(this.t('available_only_in_pro'))
}

if (this.conditions.find((f) => f.field_uuid)) {
this.item.conditions = this.conditions
} else {
Expand Down
5 changes: 2 additions & 3 deletions app/javascript/template_builder/field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
:stroke-width="1.6"
/>
</button>
<button
<!-- <button
v-if="field.conditions?.length"
class="relative cursor-pointer text-transparent group-hover:text-base-content"
:title="t('condition')"
Expand All @@ -88,7 +88,7 @@
:width="18"
:stroke-width="1.6"
/>
</button>
</button> -->
<PaymentSettings
v-if="field.type === 'payment'"
:field="field"
Expand Down Expand Up @@ -129,7 +129,6 @@
@click-formula="isShowFormulaModal = true"
@click-font="isShowFontModal = true"
@click-description="isShowDescriptionModal = true"
@click-condition="isShowConditionsModal = true"
@set-draw="$emit('set-draw', $event)"
@remove-area="removeArea"
@scroll-to="$emit('scroll-to', $event)"
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/template_builder/field_settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
</span>
</label>
</li>
<li
<!-- <li
v-if="field.type != 'stamp'"
>
<label
Expand All @@ -406,7 +406,7 @@
{{ t('condition') }}
</span>
</label>
</li>
</li> -->
<li v-if="field.type == 'number'">
<label
class="label-text cursor-pointer text-center w-full flex items-center"
Expand Down
8 changes: 4 additions & 4 deletions app/javascript/template_builder/preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
v-if="editable"
class="flex justify-between w-full"
>
<div
<!-- HIDING CONDITIONAL LOGIC FOR DOCUSEAL PRO - 1/22/2026 -->
<!-- <div
style="width: 26px"
class="flex flex-col justify-between group-hover:opacity-100"
:class="{'opacity-0': !item.conditions?.length }"
Expand All @@ -32,7 +33,7 @@
/>
</button>
</div>
</div>
</div> -->
<div class="">
<ReplaceButton
v-if="withReplaceButton"
Expand Down Expand Up @@ -120,7 +121,7 @@
<script>
import Contenteditable from './contenteditable'
import Upload from './upload'
import { IconRouteAltLeft, IconSortDescending2 } from '@tabler/icons-vue'
import { IconSortDescending2 } from '@tabler/icons-vue'
import ConditionsModal from './conditions_modal'
import ReplaceButton from './replace'
import Field from './field'
Expand All @@ -130,7 +131,6 @@ export default {
name: 'DocumentPreview',
components: {
Contenteditable,
IconRouteAltLeft,
ConditionsModal,
ReplaceButton,
IconSortDescending2
Expand Down
Loading