fix: do not allow to change number of lines when streaming logs

This commit is contained in:
Andras Bacsai
2024-10-11 12:29:13 +02:00
parent 06b795c66e
commit 920607029a

View File

@@ -48,8 +48,8 @@
</div> </div>
<form wire:submit='getLogs(true)' class="flex gap-2 items-end"> <form wire:submit='getLogs(true)' class="flex gap-2 items-end">
<div class="w-96"> <div class="w-96">
<x-forms.input label="Only Show Number of Lines" placeholder="1000" type="number" required <x-forms.input label="Only Show Number of Lines" placeholder="100" type="number" required
id="numberOfLines"></x-forms.input> id="numberOfLines" :readonly="$streamLogs"></x-forms.input>
</div> </div>
<x-forms.button type="submit">Refresh</x-forms.button> <x-forms.button type="submit">Refresh</x-forms.button>
<x-forms.checkbox instantSave label="Stream Logs" id="streamLogs"></x-forms.checkbox> <x-forms.checkbox instantSave label="Stream Logs" id="streamLogs"></x-forms.checkbox>