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:
ze0s 2024-12-26 01:04:39 +01:00 committed by GitHub
parent 9ae798c99a
commit 0cf704dba3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 10 deletions

View file

@ -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>

View file

@ -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}/>
},