From 28c65459a40539e3765a7bd06046af2d2971b777 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 29 May 2024 14:44:38 +0100 Subject: [PATCH] [5.x] Fix JavaScript length error from Add Set button label (#10217) --- resources/js/components/fieldtypes/replicator/AddSetButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/fieldtypes/replicator/AddSetButton.vue b/resources/js/components/fieldtypes/replicator/AddSetButton.vue index f0604ef2ef..2761dde3d6 100644 --- a/resources/js/components/fieldtypes/replicator/AddSetButton.vue +++ b/resources/js/components/fieldtypes/replicator/AddSetButton.vue @@ -9,7 +9,7 @@ class="btn-round flex items-center justify-center" :class="{ 'h-5 w-5': ! last, - 'mr-2': label.length > 0, + 'mr-2': label?.length > 0, }" @click="addSetButtonClicked" >