hmm
This commit is contained in:
@@ -7,10 +7,11 @@ use Livewire\Component;
|
||||
|
||||
class ForceUpgrade extends Component
|
||||
{
|
||||
public bool $visible = false;
|
||||
public function upgrade()
|
||||
{
|
||||
try {
|
||||
$this->emit('updateInitiated');
|
||||
$this->visible = true;
|
||||
dispatch(new InstanceAutoUpdateJob(force: true));
|
||||
} catch (\Exception $e) {
|
||||
return general_error_handler($e, $this);
|
||||
|
||||
Reference in New Issue
Block a user