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

View file

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