mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
remove active from connector tile if mcp server
This commit is contained in:
parent
ab9565dcec
commit
485c9dc4e4
1 changed files with 9 additions and 10 deletions
|
|
@ -264,13 +264,15 @@ export const ActiveConnectorsTab: FC<ActiveConnectorsTabProps> = ({
|
||||||
Indexing...
|
Indexing...
|
||||||
</p>
|
</p>
|
||||||
) : (
|
) : (
|
||||||
<p className="text-[10px] text-muted-foreground mt-1 whitespace-nowrap">
|
<>
|
||||||
{isIndexableConnector(connectorType)
|
{isIndexableConnector(connectorType) && (
|
||||||
? mostRecentLastIndexed
|
<p className="text-[10px] text-muted-foreground mt-1 whitespace-nowrap">
|
||||||
|
{mostRecentLastIndexed
|
||||||
? `Last indexed: ${formatLastIndexedDate(mostRecentLastIndexed)}`
|
? `Last indexed: ${formatLastIndexedDate(mostRecentLastIndexed)}`
|
||||||
: "Never indexed"
|
: "Never indexed"}
|
||||||
: "Active"}
|
</p>
|
||||||
</p>
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
<p className="text-[10px] text-muted-foreground mt-0.5 flex items-center gap-1.5">
|
<p className="text-[10px] text-muted-foreground mt-0.5 flex items-center gap-1.5">
|
||||||
{isIndexableConnector(connectorType) && (
|
{isIndexableConnector(connectorType) && (
|
||||||
|
|
@ -314,10 +316,7 @@ export const ActiveConnectorsTab: FC<ActiveConnectorsTabProps> = ({
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-1 min-w-0">
|
<div className="flex-1 min-w-0">
|
||||||
<p className="text-[14px] font-semibold leading-tight truncate">MCPs</p>
|
<p className="text-[14px] font-semibold leading-tight truncate">MCPs</p>
|
||||||
<p className="text-[10px] text-muted-foreground mt-1 whitespace-nowrap">
|
<p className="text-[10px] text-muted-foreground mt-1">
|
||||||
Active
|
|
||||||
</p>
|
|
||||||
<p className="text-[10px] text-muted-foreground mt-0.5">
|
|
||||||
{totalMCPServers} {totalMCPServers === 1 ? "Server" : "Servers"}
|
{totalMCPServers} {totalMCPServers === 1 ? "Server" : "Servers"}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue