wip
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
<div>
|
<div>
|
||||||
<button wire:click='checkUpdate'>Updates</button>
|
<button wire:click='checkUpdate'>Updates</button>
|
||||||
|
<div wire:loading wire:target="checkUpdate">
|
||||||
|
Checking for updates...
|
||||||
|
</div>
|
||||||
|
@env('production')
|
||||||
@if (auth()->user()->teams->contains(0))
|
@if (auth()->user()->teams->contains(0))
|
||||||
<button wire:click='forceUpgrade'>Force Upgrade</button>
|
<button wire:click='forceUpgrade'>Force Upgrade</button>
|
||||||
@endif
|
<div wire:loading wire:target="forceUpgrade">
|
||||||
{{ $updateAvailable ? 'Update available' : 'No updates' }}
|
Updating Coolify...
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
@endenv
|
||||||
|
@if ($updateAvailable)
|
||||||
|
Update available
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user