feature/prod-ready (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -76,11 +76,7 @@ impl Plugin for FilesPlugin {
|
||||
let full_path = entry.path();
|
||||
let name = entry.file_name().to_string_lossy().to_string();
|
||||
let is_dir = full_path.is_dir();
|
||||
let title = if is_dir {
|
||||
format!("{name}/")
|
||||
} else {
|
||||
name
|
||||
};
|
||||
let title = if is_dir { format!("{name}/") } else { name };
|
||||
let path_str = full_path.to_string_lossy().to_string();
|
||||
SearchResult {
|
||||
id: ResultId::new(format!("file-{i}")),
|
||||
|
||||
Reference in New Issue
Block a user