autoupdate feature

This commit is contained in:
Andras Bacsai committed 2023-04-27 12:52:13 +02:00
1 parent 9fd62b4437
commit 4d69094a1f
5 files changed
+39 -9

No files matched your search

+2 -2
View File
@@ -13,6 +13,6 @@
@csrf
<button type="submit">Logout</button>
</form>
{{-- <livewire:check-update> --}}
@endauth
<livewire:check-update>
@endauth
</nav>
@@ -1,4 +1,7 @@
<div>
<button wire:click='checkUpdate'>Updates</button>
@env('production')
<button wire:click='forceUpgrade'>Force Upgrade</button>
@endenv
{{ $updateAvailable ? 'Update available' : 'No updates' }}
</div>