mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 20:55:06 +02:00
@@ -23,6 +23,7 @@ import {
|
|||||||
FiSettings,
|
FiSettings,
|
||||||
FiLock,
|
FiLock,
|
||||||
FiUnlock,
|
FiUnlock,
|
||||||
|
FiRefreshCw,
|
||||||
} from "react-icons/fi";
|
} from "react-icons/fi";
|
||||||
import { Tooltip } from "@/components/tooltip/Tooltip";
|
import { Tooltip } from "@/components/tooltip/Tooltip";
|
||||||
import { SourceIcon } from "@/components/SourceIcon";
|
import { SourceIcon } from "@/components/SourceIcon";
|
||||||
@@ -240,6 +241,14 @@ function ConnectorRow({
|
|||||||
>
|
>
|
||||||
Public
|
Public
|
||||||
</Badge>
|
</Badge>
|
||||||
|
) : ccPairsIndexingStatus.access_type === "sync" ? (
|
||||||
|
<Badge
|
||||||
|
size="md"
|
||||||
|
color={isEditable ? "orange" : "gray"}
|
||||||
|
icon={FiRefreshCw}
|
||||||
|
>
|
||||||
|
Sync
|
||||||
|
</Badge>
|
||||||
) : (
|
) : (
|
||||||
<Badge size="md" color={isEditable ? "blue" : "gray"} icon={FiLock}>
|
<Badge size="md" color={isEditable ? "blue" : "gray"} icon={FiLock}>
|
||||||
Private
|
Private
|
||||||
|
Reference in New Issue
Block a user