diff --git a/resources/js/pages/collections/Empty.vue b/resources/js/pages/collections/Empty.vue index c99d53a7a3d..19dc75e64ab 100644 --- a/resources/js/pages/collections/Empty.vue +++ b/resources/js/pages/collections/Empty.vue @@ -5,6 +5,7 @@ import useArchitecturalBackground from '@/pages/layout/architectural-background. useArchitecturalBackground(); const props = defineProps([ + 'icon', 'title', 'blueprints', 'canEdit', @@ -23,7 +24,7 @@ const props = defineProps([

- +

diff --git a/src/Http/Controllers/CP/Collections/CollectionsController.php b/src/Http/Controllers/CP/Collections/CollectionsController.php index fc57a5353da..aab2c39d3fe 100644 --- a/src/Http/Controllers/CP/Collections/CollectionsController.php +++ b/src/Http/Controllers/CP/Collections/CollectionsController.php @@ -202,6 +202,7 @@ public function show(Request $request, $collection) if ($collection->queryEntries()->count() === 0) { return Inertia::render('collections/Empty', [ ...Arr::only($props, [ + 'icon', 'title', 'blueprints', 'canEdit',