mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 02:16:43 +00:00
fix: broadcast S3DownloadFinished event to hide download message
- Make S3DownloadFinished implement ShouldBroadcast - Add listener in Import component to handle S3DownloadFinished event - Set s3DownloadInProgress to false when download completes - This hides "Downloading from S3..." message after download finishes - Follows the same pattern as DatabaseStatusChanged event 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
18f30b7fab
commit
23fdad1d9f
2 files changed
+35
-2
No files matched your search
@@ -74,9 +74,15 @@ class Import extends Component
|
||||
|
||||
return [
|
||||
"echo-private:user.{$userId},DatabaseStatusChanged" => '$refresh',
|
||||
"echo-private:user.{$userId},S3DownloadFinished" => 'handleS3DownloadFinished',
|
||||
];
|
||||
}
|
||||
|
||||
public function handleS3DownloadFinished(): void
|
||||
{
|
||||
$this->s3DownloadInProgress = false;
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
if (isDev()) {
|
||||
|
||||
Reference in new issue
Block a user