mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-20 03:17:44 +00:00
Add an icon in the input bar for research mode
This commit is contained in:
parent
01d000e570
commit
d7e5a76ace
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,7 @@ import {
|
||||||
FilePdf,
|
FilePdf,
|
||||||
FileMd,
|
FileMd,
|
||||||
MicrosoftWordLogo,
|
MicrosoftWordLogo,
|
||||||
|
Microscope,
|
||||||
} from "@phosphor-icons/react";
|
} from "@phosphor-icons/react";
|
||||||
import { OrgMode } from "@/app/components/logo/fileLogo";
|
import { OrgMode } from "@/app/components/logo/fileLogo";
|
||||||
|
|
||||||
|
@ -219,6 +220,10 @@ export function getIconForSlashCommand(command: string, customClassName: string
|
||||||
return <Code className={className} />;
|
return <Code className={className} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (command.includes("research")) {
|
||||||
|
return <Microscope className={className} />;
|
||||||
|
}
|
||||||
|
|
||||||
return <ArrowRight className={className} />;
|
return <ArrowRight className={className} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue