fix
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
@if ($type === 'password')
|
||||
<div class="w-full rounded join" x-data>
|
||||
<input {{ $attributes }} class="join-item" wire:model.defer={{ $id }}
|
||||
wire:dirty.class="input-warning" @readonly($readonly) @disabled($disabled)
|
||||
type={{ $type }} id={{ $id }} name={{ $name }}
|
||||
@isset($value) value={{ $value }} @endisset
|
||||
wire:dirty.class="input-warning" wire:loading.attr='disabled' @readonly($readonly)
|
||||
@disabled($disabled) type={{ $type }} id={{ $id }}
|
||||
name={{ $name }} @isset($value) value={{ $value }} @endisset
|
||||
@isset($placeholder) placeholder={{ $placeholder }} @endisset>
|
||||
@if (!$cannotPeakPassword)
|
||||
<span x-on:click="changePasswordFieldType" x-cloak @class([
|
||||
@@ -41,8 +41,9 @@
|
||||
</div>
|
||||
@else
|
||||
<input {{ $attributes }} id={{ $id }} name={{ $name }}
|
||||
wire:model.defer={{ $id }} wire:dirty.class="input-warning" @readonly($readonly)
|
||||
@disabled($disabled) @isset($value) value={{ $value }} @endisset
|
||||
wire:model.defer={{ $id }} wire:dirty.class="input-warning" wire:loading.attr='disabled'
|
||||
@readonly($readonly) @disabled($disabled)
|
||||
@isset($value) value={{ $value }} @endisset
|
||||
@isset($placeholder) placeholder={{ $placeholder }} @endisset>
|
||||
@endif
|
||||
@if (!$label && $helper)
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
}
|
||||
|
||||
function revive() {
|
||||
if (checkHealthInterval) return true;
|
||||
console.log('Checking server\'s health...')
|
||||
checkHealthInterval = setInterval(() => {
|
||||
fetch('/api/health')
|
||||
@@ -85,6 +86,7 @@
|
||||
}
|
||||
|
||||
function upgrade() {
|
||||
if (checkIfIamDeadInterval) return true;
|
||||
console.log('Update initiated.')
|
||||
checkIfIamDeadInterval = setInterval(() => {
|
||||
fetch('/api/health')
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="gap-4 pt-10 sm:mt-4 sm:flex">
|
||||
<x-forms.button class="w-24 bg-coolgray-100 hover:bg-coolgray-100"
|
||||
<x-forms.button class="w-24 bg-coolgray-200 hover:bg-coolgray-100"
|
||||
x-on:click="{{ $show }} = false" type="button">Cancel
|
||||
</x-forms.button>
|
||||
<div class="flex-1"></div>
|
||||
|
||||
Reference in New Issue
Block a user