mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Add an icon in the input bar for research mode
This commit is contained in:
@@ -51,6 +51,7 @@ import {
|
||||
FilePdf,
|
||||
FileMd,
|
||||
MicrosoftWordLogo,
|
||||
Microscope,
|
||||
} from "@phosphor-icons/react";
|
||||
import { OrgMode } from "@/app/components/logo/fileLogo";
|
||||
|
||||
@@ -219,6 +220,10 @@ export function getIconForSlashCommand(command: string, customClassName: string
|
||||
return <Code className={className} />;
|
||||
}
|
||||
|
||||
if (command.includes("research")) {
|
||||
return <Microscope className={className} />;
|
||||
}
|
||||
|
||||
return <ArrowRight className={className} />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user