diff --git a/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/components/FromConnections/SyncElementLine/SyncElementLine.tsx b/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/components/FromConnections/SyncElementLine/SyncElementLine.tsx index 5a0823a2b..2d574e6f9 100644 --- a/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/components/FromConnections/SyncElementLine/SyncElementLine.tsx +++ b/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/components/FromConnections/SyncElementLine/SyncElementLine.tsx @@ -2,6 +2,7 @@ import { useState } from "react"; import { Checkbox } from "@/lib/components/ui/Checkbox/Checkbox"; import Icon from "@/lib/components/ui/Icon/Icon"; +import Tooltip from "@/lib/components/ui/Tooltip/Tooltip"; import styles from "./SyncElementLine.module.scss"; @@ -64,7 +65,7 @@ export const SyncElementLine = ({ setChecked((prevChecked) => !prevChecked); }; - return ( + const content = (
@@ -97,4 +93,12 @@ export const SyncElementLine = ({ {name} ); + + return selectable ? ( + content + ) : ( +