From cd3339ba42b78c94b031ff9594ba0023ad3a8baf Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 9 Jan 2025 22:51:53 +0100 Subject: [PATCH] adds loading placeholder back in at `/monitors/:id/contributions` --- app/Livewire/Monitors/ContributionsView.php | 9 +++++++++ .../monitors/contributions-view.blade.php | 19 ------------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/app/Livewire/Monitors/ContributionsView.php b/app/Livewire/Monitors/ContributionsView.php index 3a1df1f..a61c96b 100644 --- a/app/Livewire/Monitors/ContributionsView.php +++ b/app/Livewire/Monitors/ContributionsView.php @@ -95,4 +95,13 @@ public function render() { return view('livewire.monitors.contributions-view'); } + + public function placeholder() + { + return <<<'HTML' +
+
+
+ HTML; + } } diff --git a/resources/views/livewire/monitors/contributions-view.blade.php b/resources/views/livewire/monitors/contributions-view.blade.php index 28a58e4..0cebb7d 100644 --- a/resources/views/livewire/monitors/contributions-view.blade.php +++ b/resources/views/livewire/monitors/contributions-view.blade.php @@ -17,25 +17,6 @@ @endif - - -
@forelse($contributions as $contribution)