autoupdate feature
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user