fix: ensure S3 download message hides when download finishes

- 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 <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai 2025-11-02 17:03:24 +01:00
parent 5324ac3bd9
commit d8037de8d2

View file

@ -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()) {