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