From 1f4f1ef40eb060bf1cbc39d9caec15a086056534 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 29 May 2024 14:03:09 +0100 Subject: [PATCH] Fix JavaScript length error from Add Set button label --- 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" >