From 0599b6ec01338c00ef2d8846a69c97fc176363e2 Mon Sep 17 00:00:00 2001 From: Paul Grimes Date: Wed, 14 Aug 2024 14:23:07 +1000 Subject: [PATCH] Fix: capitalisation of attribute --- resources/js/Components/Admin/AdminTopNavigation.vue | 8 ++++---- .../Feature/API/Admin/AdminSearch/AdminSearchGetTest.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/js/Components/Admin/AdminTopNavigation.vue b/resources/js/Components/Admin/AdminTopNavigation.vue index a7880a5..7866da3 100644 --- a/resources/js/Components/Admin/AdminTopNavigation.vue +++ b/resources/js/Components/Admin/AdminTopNavigation.vue @@ -9,7 +9,7 @@ const searchResults = ref({ users: [], teams: [], vouchers: [], - voucher_sets: [], + voucherSets: [], }); const showResults = ref(false); const showNoResults = ref(false); @@ -32,7 +32,7 @@ watch(searchResults, () => { searchResults.value.users.length || searchResults.value.teams.length || searchResults.value.vouchers.length || - searchResults.value.voucher_sets.length + searchResults.value.voucherSets.length ) { showResults.value = true; } else { @@ -186,12 +186,12 @@ function highlightMatchingText(text) { -
+