From 7db90efe3bb5383dcbce99e84c3b84ca4a33fcc0 Mon Sep 17 00:00:00 2001
From: Elizabeth Danzberger <lizzy7128@tutanota.de>
Date: Fri, 31 Jan 2025 15:34:47 -0500
Subject: fix(template-filler): Hide template fields with unknown labels

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
---
 apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue')

diff --git a/apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue b/apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue
index 632944f1bab..d617fd93303 100644
--- a/apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue
+++ b/apps/files/src/components/TemplateFiller/TemplateCheckboxField.vue
@@ -40,7 +40,7 @@ export default defineComponent({
 
 	computed: {
 		fieldLabel() {
-			const label = this.field.name ?? this.field.alias ?? 'Unknown field'
+			const label = this.field.name || this.field.alias
 
 			return label.charAt(0).toUpperCase() + label.slice(1)
 		},
-- 
cgit v1.2.3

