updates
This commit is contained in:
@@ -9,7 +9,7 @@ class ForceUpgrade extends Component
|
||||
{
|
||||
public function upgrade()
|
||||
{
|
||||
dispatch_sync(new InstanceAutoUpdateJob(force: true));
|
||||
$this->emit('updateInitiated');
|
||||
dispatch_sync(new InstanceAutoUpdateJob(force: true));
|
||||
}
|
||||
}
|
||||
|
||||
15
app/Http/Livewire/Upgrading.php
Normal file
15
app/Http/Livewire/Upgrading.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class Upgrading extends Component
|
||||
{
|
||||
public bool $visible = false;
|
||||
protected $listeners = ['updateInitiated'];
|
||||
public function updateInitiated()
|
||||
{
|
||||
$this->visible = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user