fix: simplify CRM sync status messaging
This commit is contained in:
parent
133ed6d6f3
commit
7786336cfb
3 changed files with 0 additions and 9 deletions
|
|
@ -91,9 +91,6 @@ export default async function AdminContactsPage({ searchParams }: PageProps) {
|
|||
{!data.sync.ghlConfigured ? (
|
||||
<span>GHL is not connected.</span>
|
||||
) : null}
|
||||
{!data.sync.syncTokenConfigured ? (
|
||||
<span>Manual sync endpoint is not configured yet.</span>
|
||||
) : null}
|
||||
{data.sync.stages.contacts.error ? (
|
||||
<span>{data.sync.stages.contacts.error}</span>
|
||||
) : null}
|
||||
|
|
|
|||
|
|
@ -97,9 +97,6 @@ export default async function AdminConversationsPage({
|
|||
{!data.sync.ghlConfigured ? (
|
||||
<span>GHL is not connected.</span>
|
||||
) : null}
|
||||
{!data.sync.syncTokenConfigured ? (
|
||||
<span>Manual sync endpoint is not configured yet.</span>
|
||||
) : null}
|
||||
{data.sync.stages.conversations.error ? (
|
||||
<span>{data.sync.stages.conversations.error}</span>
|
||||
) : null}
|
||||
|
|
|
|||
|
|
@ -256,9 +256,6 @@ export default async function AdminDashboard() {
|
|||
<Badge variant="outline">{sync.overallStatus}</Badge>
|
||||
<span>Last sync: {formatTimestamp(sync.latestSyncAt)}</span>
|
||||
{!sync.ghlConfigured ? <span>GHL is not connected.</span> : null}
|
||||
{!sync.syncTokenConfigured ? (
|
||||
<span>Manual sync endpoint is not configured yet.</span>
|
||||
) : null}
|
||||
{!sync.livekitConfigured ? (
|
||||
<span>LiveKit recordings are not connected yet.</span>
|
||||
) : null}
|
||||
|
|
|
|||
Loading…
Reference in a new issue