mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(dashboard): remove minimum length limit while searching share link by ID
This commit is contained in:
parent
5c58055971
commit
16ad05bee8
|
|
@ -67,7 +67,7 @@ const SharesInput = (props: SharesInputProps) => {
|
|||
useEffect(() => {
|
||||
let active = true;
|
||||
|
||||
if (inputValue === "" || inputValue.length < 2) {
|
||||
if (inputValue === "") {
|
||||
setOptions([]);
|
||||
return undefined;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue