mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Improved the manual search releases dropdown
This commit is contained in:
parent
25894c477f
commit
b50e7f4fff
1 changed files with 4 additions and 3 deletions
|
@ -126,7 +126,7 @@ export const ManualSearchModal: FunctionComponent<Props & BaseModalProps> = (
|
|||
|
||||
const items = useMemo(
|
||||
() =>
|
||||
value.slice(1).map((v, idx) => (
|
||||
value.map((v, idx) => (
|
||||
<Dropdown.Item key={idx} disabled className="text-dark">
|
||||
{v}
|
||||
</Dropdown.Item>
|
||||
|
@ -139,9 +139,10 @@ export const ManualSearchModal: FunctionComponent<Props & BaseModalProps> = (
|
|||
return (
|
||||
<Dropdown>
|
||||
<Dropdown.Toggle
|
||||
disabled={value.length === 1}
|
||||
className="dropdown-hidden text-dark dropdown-toggle-wrap"
|
||||
variant={value.length === 1 ? "link" : "light"}
|
||||
title={display}
|
||||
variant={"light"}
|
||||
size={"sm"}
|
||||
>
|
||||
<span>{display}</span>
|
||||
</Dropdown.Toggle>
|
||||
|
|
Loading…
Reference in a new issue