fix: missing upgrade js

This commit is contained in:
Andras Bacsai
2023-09-15 15:50:37 +02:00
parent 1cf036bbc6
commit e17ff99c5b
2 changed files with 37 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ class Upgrade extends Component
}
$this->showProgress = true;
resolve(UpdateCoolify::class)(true);
Toaster::success("Upgrading to {$this->latestVersion} version...");
$this->emit('success', "Upgrading to {$this->latestVersion} version...");
} catch (\Throwable $e) {
return handleError($e, $this);
}