mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
fix(releases): add null handling for new fields (#1892)
* fix(web): react fragment props warnings * fix(releases): handle new NULL values
This commit is contained in:
parent
9ae798c99a
commit
0cf704dba3
5 changed files with 13 additions and 10 deletions
|
@ -510,7 +510,7 @@ export const AgeSelect = ({
|
|||
setDuration(value);
|
||||
}}>
|
||||
{({ open }) => (
|
||||
<>
|
||||
<div>
|
||||
<div className="mt-0 relative">
|
||||
<ListboxButton className="block w-full relative shadow-sm text-sm text-left rounded-md border pl-3 pr-10 py-2.5 focus:ring-blue-500 dark:focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-500 border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-gray-815 dark:text-gray-400">
|
||||
<span className="block truncate text-gray-500 dark:text-white">
|
||||
|
@ -552,7 +552,7 @@ export const AgeSelect = ({
|
|||
</ListboxOptions>
|
||||
</Transition>
|
||||
</div>
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
</Listbox>
|
||||
</div>
|
||||
|
|
|
@ -278,10 +278,10 @@ function DeleteReleases() {
|
|||
{[
|
||||
{
|
||||
label: (
|
||||
<>
|
||||
<span>
|
||||
Older than:
|
||||
<span className="text-red-600 dark:text-red-500"> *</span>
|
||||
</>
|
||||
</span>
|
||||
),
|
||||
content: <AgeSelect duration={duration} setDuration={setDuration} setParsedDuration={setParsedDuration}/>
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue