mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Associate folder icon with all doc tools use in thinking UX on web app
The newer grep_files and list_files should also be associated with document search in train of thought visualization on the web app.
This commit is contained in:
@@ -312,7 +312,11 @@ function chooseIconFromHeader(header: string, iconColor: string) {
|
|||||||
return <Toolbox className={`${classNames}`} />;
|
return <Toolbox className={`${classNames}`} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (compareHeader.includes("notes")) {
|
if (
|
||||||
|
compareHeader.includes("notes") ||
|
||||||
|
compareHeader.includes("documents") ||
|
||||||
|
compareHeader.includes("files")
|
||||||
|
) {
|
||||||
return <Folder className={`${classNames}`} />;
|
return <Folder className={`${classNames}`} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user