We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5965b7d commit 514c6a2Copy full SHA for 514c6a2
frontend/src/components/Sidebar/Sidebar.tsx
@@ -2,6 +2,7 @@ import { Link, useParams } from 'react-router-dom';
2
import Logo from './Logo';
3
import { cn } from '../../lib/utils';
4
import type { DataSource } from '../../types/datasource';
5
+import LockIcon from '../icons/LockIcon';
6
7
interface SidebarProps {
8
sources: DataSource[];
@@ -49,6 +50,9 @@ export default function Sidebar({ sources, isLoading }: SidebarProps) {
49
50
)}
51
>
52
<span className="truncate font-mono text-xs">{tool.name}</span>
53
+ {tool.readonly && (
54
+ <LockIcon className="w-3 h-3 ml-auto flex-shrink-0" />
55
+ )}
56
</Link>
57
))}
58
</div>
0 commit comments