wip
This commit is contained in:
parent
8ab185369e
commit
befc51beec
@ -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…
x
Reference in New Issue
Block a user