From d8037de8d22cd653738e0fc40748bf91b8e44696 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Sun, 2 Nov 2025 17:03:24 +0100 Subject: [PATCH] fix: ensure S3 download message hides when download finishes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add S3DownloadFinished event listener to Import component - Add handleS3DownloadFinished method to set s3DownloadInProgress to false - This ensures the 'Downloading from S3...' message is hidden when download completes - The success message now properly displays after download finishes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/Livewire/Project/Database/Import.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Livewire/Project/Database/Import.php b/app/Livewire/Project/Database/Import.php index d69316a59..c82784822 100644 --- a/app/Livewire/Project/Database/Import.php +++ b/app/Livewire/Project/Database/Import.php @@ -76,9 +76,15 @@ public function getListeners() return [ "echo-private:user.{$userId},DatabaseStatusChanged" => '$refresh', + 'S3DownloadFinished' => 'handleS3DownloadFinished', ]; } + public function handleS3DownloadFinished(): void + { + $this->s3DownloadInProgress = false; + } + public function mount() { if (isDev()) {