mirror of
https://github.com/docmost/docmost.git
synced 2026-09-01 03:15:32 +08:00
minor fix
This commit is contained in:
@@ -30,7 +30,7 @@ function appendSearchParams(
|
||||
search?: string[],
|
||||
wholeWord?: boolean,
|
||||
): string {
|
||||
if(search.length === 0){
|
||||
if(search?.length === 0){
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user