mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
Widen upgrade popup and add dev mode simulation
- Set modal width to consistent 48rem for both upgrade states - Remove max-width constraint from progress stepper - Add dev mode with Simulate button for local testing - Simulate cycles through all upgrade steps with 2-second delays
This commit is contained in:
@@ -17,11 +17,14 @@ class Upgrade extends Component
|
||||
|
||||
public string $currentVersion = '';
|
||||
|
||||
public bool $devMode = false;
|
||||
|
||||
protected $listeners = ['updateAvailable' => 'checkUpdate'];
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->currentVersion = config('constants.coolify.version');
|
||||
$this->devMode = isDev();
|
||||
}
|
||||
|
||||
public function checkUpdate()
|
||||
|
||||
Reference in New Issue
Block a user