fix errors

This commit is contained in:
Manoj Aggarwal 2026-01-16 15:11:01 -08:00
parent 1340121d5e
commit 1ad81583c0
2 changed files with 11 additions and 13 deletions

View file

@ -70,7 +70,6 @@ export const ConnectorIndicator: FC = () => {
setEndDate, setEndDate,
setPeriodicEnabled, setPeriodicEnabled,
setFrequencyMinutes, setFrequencyMinutes,
setOtherMCPConnectorIds,
handleOpenChange, handleOpenChange,
handleTabChange, handleTabChange,
handleScroll, handleScroll,
@ -259,7 +258,7 @@ export const ConnectorIndicator: FC = () => {
isDisconnecting={isDisconnecting} isDisconnecting={isDisconnecting}
isIndexing={indexingConnectorIds.has(editingConnector.id)} isIndexing={indexingConnectorIds.has(editingConnector.id)}
searchSpaceId={searchSpaceId?.toString()} searchSpaceId={searchSpaceId?.toString()}
onOtherMCPConnectorsLoaded={setOtherMCPConnectorIds}
onStartDateChange={setStartDate} onStartDateChange={setStartDate}
onEndDateChange={setEndDate} onEndDateChange={setEndDate}
onPeriodicEnabledChange={setPeriodicEnabled} onPeriodicEnabledChange={setPeriodicEnabled}

View file

@ -202,17 +202,16 @@ export const ActiveConnectorsTab: FC<ActiveConnectorsTabProps> = ({
const documentCount = getDocumentCountForConnector( const documentCount = getDocumentCountForConnector(
connectorType, connectorType,
documentTypeCounts documentTypeCounts
); );
const accountCount = typeConnectors.length; const accountCount = typeConnectors.length;
const mostRecentLastIndexed = getMostRecentLastIndexed(typeConnectors);
const handleManageClick = () => { const handleManageClick = () => {
if (onViewAccountsList) { if (onViewAccountsList) {
onViewAccountsList(connectorType, title); onViewAccountsList(connectorType, title);
} else if (onManage && typeConnectors[0]) { } else if (onManage && typeConnectors[0]) {
onManage(typeConnectors[0]); onManage(typeConnectors[0]);
} }
}; };
return ( return (
<div <div
key={`oauth-type-${connectorType}`} key={`oauth-type-${connectorType}`}