Skip to content

Commit f2077f9

Browse files
committed
fix(search): remove redundant source account banner
1 parent a8e7d22 commit f2077f9

2 files changed

Lines changed: 0 additions & 25 deletions

File tree

‎apps/sim/app/o/[organizationId]/settings/integrations/sources/[connectorId]/source-detail.test.tsx‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -205,22 +205,6 @@ describe('organization source detail navigation', () => {
205205
)
206206
})
207207

208-
it.each(['members', 'admin'] as const)(
209-
'links member sources to personal Search connections: %s',
210-
async (accessMode) => {
211-
mocks.detail.mockReturnValue({ data: { ...connector, accessMode } })
212-
await render()
213-
const link = container.querySelector('a[aria-label="Manage your Search accounts"]')
214-
if (accessMode === 'members') {
215-
expect(link).toHaveAttribute('href', '/o/org-one/integrations')
216-
expect(container.textContent).toContain(
217-
'Each person connects from Integrations to sync content they can access.'
218-
)
219-
} else {
220-
expect(link).toBeNull()
221-
}
222-
}
223-
)
224208
it('restores document search and status from the shared URL', async () => {
225209
await render('?search=notes&document-filter=excluded')
226210
expect(mocks.documents).toHaveBeenLastCalledWith(

‎apps/sim/app/o/[organizationId]/settings/integrations/sources/[connectorId]/source-detail.tsx‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,6 @@ function SourceDetailContent({
241241
description='Its content is unavailable in Search, Assistant, and MCP.'
242242
/>
243243
)}
244-
{connector.accessMode === 'members' && (
245-
<SettingsResourceRow
246-
title='Search accounts'
247-
description='Each person connects from Integrations to sync content they can access.'
248-
href={organizationRoutes(organization.id).integrations}
249-
clickLabel='Manage your Search accounts'
250-
navigable
251-
/>
252-
)}
253244
</>
254245
)
255246
if (view === 'settings')

0 commit comments

Comments
 (0)