mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Show connected icon when files or notion is indexed
This commit is contained in:
@@ -848,6 +848,11 @@ export default function SettingsView() {
|
||||
<CardHeader className="flex flex-row text-2xl">
|
||||
<Laptop className="h-8 w-8 mr-2" />
|
||||
Files
|
||||
{
|
||||
userConfig.enabled_content_source.computer && (
|
||||
<CheckCircle className="h-6 w-6 ml-auto text-green-500" weight="fill" />
|
||||
)
|
||||
}
|
||||
</CardHeader>
|
||||
<CardContent className="overflow-hidden pb-12 text-gray-400">
|
||||
Manage your synced files
|
||||
@@ -910,13 +915,15 @@ export default function SettingsView() {
|
||||
<CardHeader className="text-xl flex flex-row">
|
||||
<NotionLogo className="h-7 w-7 mr-2" />
|
||||
Notion
|
||||
{
|
||||
userConfig.enabled_content_source.notion && (
|
||||
<CheckCircle className="h-6 w-6 ml-auto text-green-500" weight="fill" />
|
||||
)
|
||||
}
|
||||
</CardHeader>
|
||||
<CardContent className="grid gap-4">
|
||||
<p className="text-gray-400">
|
||||
Sync your Notion pages. See the{" "}
|
||||
<a href="https://docs.khoj.dev/data-sources/notion_integration/">
|
||||
setup instructions
|
||||
</a>
|
||||
Sync your Notion workspace.
|
||||
</p>
|
||||
{!userConfig.notion_oauth_url && (
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user