Merge pull request #44 from CareerPlug/CP-12029-hide-pro-btn

CP-12029 / hide pro btn
pull/608/head
Julie Graceffa 2 months ago committed by GitHub
commit b7800246f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
@ -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 {

@ -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')"
@ -88,7 +88,7 @@
:width="18"
:stroke-width="1.6"
/>
</button>
</button> -->
<PaymentSettings
v-if="field.type === 'payment'"
:field="field"
@ -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)"

@ -392,7 +392,7 @@
</span>
</label>
</li>
<li
<!-- <li
v-if="field.type != 'stamp'"
>
<label
@ -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"

@ -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 }"
@ -32,7 +33,7 @@
/>
</button>
</div>
</div>
</div> -->
<div class="">
<ReplaceButton
v-if="withReplaceButton"
@ -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'
@ -130,7 +131,6 @@ export default {
name: 'DocumentPreview',
components: {
Contenteditable,
IconRouteAltLeft,
ConditionsModal,
ReplaceButton,
IconSortDescending2

Loading…
Cancel
Save