From e6d8b8b9a8b44ef1aa2aa3a05e3a481e8c7a18be Mon Sep 17 00:00:00 2001 From: iozeey Date: Fri, 15 Dec 2023 22:12:03 +0500 Subject: [PATCH] fix reset values --- app/javascript/template_builder/area.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/template_builder/area.vue b/app/javascript/template_builder/area.vue index 11a2b2ea..7e1a83a2 100644 --- a/app/javascript/template_builder/area.vue +++ b/app/javascript/template_builder/area.vue @@ -593,24 +593,24 @@ export default { const templateValue = this.template.values[this.field.uuid] switch (this.field.type) { case 'my_signature': + this.showMySignature = false if (this.myLocalSignatureValue === templateValue) { - this.showMySignature = false this.myLocalSignatureValue = '' } console.log('switch signature portion') break case 'my_initials': + this.showMyInitials = false if (this.myLocalInitialsValue === templateValue) { - this.showMyInitials = false this.myLocalInitialsValue = '' } console.log('switch initials portion') break case 'my_date': + this.showMyDate = false if (this.myLocalDateValue === templateValue) { - this.showMyDate = false this.myLocalDateValue = '' } console.log('switch my_date portion')