feat: agency control panel for per-client connections

Matrix view of Meta/Google/Drive/Clientify, follow/archive clients,
and per-channel ON/OFF with account IDs in the client hub.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-22 18:47:29 +02:00
parent 1eb02dac4d
commit c4c527072f
10 changed files with 637 additions and 140 deletions

View File

@@ -31,7 +31,9 @@ export default function TenantSwitcher({
fetch('/api/admin/portfolio')
.then((r) => r.json())
.then((d) => {
const list = (d.portfolio || []).map(
const list = (d.portfolio || [])
.filter((t: { agency_followed?: boolean }) => t.agency_followed !== false)
.map(
(t: { id: string; name: string; slug: string }) => ({
id: t.id,
name: t.name,