mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 01:36:39 +02:00
feat(crm): remove Lexware section from ContactDetailPage
Lexware contact linking is not relevant for individual contacts, only for companies. Removed LexwareSection component and the two-column topRow grid layout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b746fc987d
commit
219863d538
2 changed files with 2 additions and 27 deletions
|
|
@ -110,20 +110,6 @@
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Top row: Kontaktdaten + Lexware ---- */
|
|
||||||
.topRow {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 260px;
|
|
||||||
gap: 1.5rem;
|
|
||||||
align-items: start;
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 960px) {
|
|
||||||
.topRow {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---- Card ---- */
|
/* ---- Card ---- */
|
||||||
.card {
|
.card {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ import { useContact, useDeals, useDeleteContact } from '../hooks';
|
||||||
import { ContactFormModal } from './ContactFormModal';
|
import { ContactFormModal } from './ContactFormModal';
|
||||||
import { ActivityFormModal } from '../activities/ActivityFormModal';
|
import { ActivityFormModal } from '../activities/ActivityFormModal';
|
||||||
import { Modal } from '../../components/Modal';
|
import { Modal } from '../../components/Modal';
|
||||||
import { LexwareSection } from '../lexware/LexwareSection';
|
|
||||||
import { CustomFieldsDisplay } from '../CustomFieldsDisplay';
|
import { CustomFieldsDisplay } from '../CustomFieldsDisplay';
|
||||||
import type { Contact, Activity, ActivityType } from '../types';
|
import type { Contact, Activity, ActivityType } from '../types';
|
||||||
import { CONTACT_SOURCE_LABELS, ENTITY_STATUS_LABELS } from '../types';
|
import { CONTACT_SOURCE_LABELS, ENTITY_STATUS_LABELS } from '../types';
|
||||||
|
|
@ -199,8 +198,8 @@ export function ContactDetailPage() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ── Top row: Kontaktdaten (wide) + Lexware (small) ── */}
|
{/* ── Kontaktdaten ── */}
|
||||||
<div className={styles.topRow}>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
{/* Contact data card */}
|
{/* Contact data card */}
|
||||||
<div className={styles.card}>
|
<div className={styles.card}>
|
||||||
|
|
@ -486,16 +485,6 @@ export function ContactDetailPage() {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ── Right: Lexware (compact) ── */}
|
|
||||||
<div>
|
|
||||||
<LexwareSection
|
|
||||||
entityType="contact"
|
|
||||||
entityId={contact.id}
|
|
||||||
lexwareContactId={contact.lexwareContactId ?? null}
|
|
||||||
lexwareSyncedAt={contact.lexwareSyncedAt ?? null}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ── Aktivitäten (full width below) ── */}
|
{/* ── Aktivitäten (full width below) ── */}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue