wip
This commit is contained in:
parent
8ab185369e
commit
befc51beec
1 changed files with 11 additions and 1 deletions
|
|
@ -1,7 +1,17 @@
|
|||
<div>
|
||||
<button wire:click='checkUpdate'>Updates</button>
|
||||
<div wire:loading wire:target="checkUpdate">
|
||||
Checking for updates...
|
||||
</div>
|
||||
@env('production')
|
||||
@if (auth()->user()->teams->contains(0))
|
||||
<button wire:click='forceUpgrade'>Force Upgrade</button>
|
||||
<div wire:loading wire:target="forceUpgrade">
|
||||
Updating Coolify...
|
||||
</div>
|
||||
@endif
|
||||
@endenv
|
||||
@if ($updateAvailable)
|
||||
Update available
|
||||
@endif
|
||||
{{ $updateAvailable ? 'Update available' : 'No updates' }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue