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:
parent
5324ac3bd9
commit
d8037de8d2
1 changed files with 6 additions and 0 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue