Remove Quelle column from customer leadspeicher

This commit is contained in:
Timo Uttenweiler
2026-03-27 17:01:56 +01:00
parent a67dd2cc8c
commit ea3138ac64

View File

@@ -678,7 +678,6 @@ export default function LeadVaultPage() {
["phone", "Telefon"], ["phone", "Telefon"],
["email", "E-Mail"], ["email", "E-Mail"],
["sourceTerm", "Suchbegriff"], ["sourceTerm", "Suchbegriff"],
["sourceTab", "Quelle"],
["capturedAt", "Erfasst"], ["capturedAt", "Erfasst"],
].map(([field, label]) => ( ].map(([field, label]) => (
<th key={field} className="px-3 py-2.5 text-left text-xs font-medium text-gray-500 whitespace-nowrap"> <th key={field} className="px-3 py-2.5 text-left text-xs font-medium text-gray-500 whitespace-nowrap">
@@ -693,10 +692,10 @@ export default function LeadVaultPage() {
</thead> </thead>
<tbody> <tbody>
{loading && !leads.length ? ( {loading && !leads.length ? (
<tr><td colSpan={8} className="px-4 py-8 text-center text-gray-500 text-sm">Lädt...</td></tr> <tr><td colSpan={7} className="px-4 py-8 text-center text-gray-500 text-sm">Lädt...</td></tr>
) : leads.length === 0 ? ( ) : leads.length === 0 ? (
<tr> <tr>
<td colSpan={8} className="px-4 py-16 text-center"> <td colSpan={7} className="px-4 py-16 text-center">
<Database className="w-8 h-8 text-gray-700 mx-auto mb-3" /> <Database className="w-8 h-8 text-gray-700 mx-auto mb-3" />
<p className="text-gray-500 text-sm"> <p className="text-gray-500 text-sm">
{(search || filterSource.length || filterContacted || filterFavorite) {(search || filterSource.length || filterContacted || filterFavorite)
@@ -795,9 +794,6 @@ export default function LeadVaultPage() {
<span className="text-xs text-gray-600"></span> <span className="text-xs text-gray-600"></span>
)} )}
</td> </td>
<td className="px-3 py-2.5">
<span className="text-xs text-gray-400">{src?.icon} {src?.label || lead.sourceTab}</span>
</td>
<td className="px-3 py-2.5 whitespace-nowrap" title={new Date(lead.capturedAt).toLocaleString("de-DE")}> <td className="px-3 py-2.5 whitespace-nowrap" title={new Date(lead.capturedAt).toLocaleString("de-DE")}>
<span className="text-xs text-gray-500">{new Date(lead.capturedAt).toLocaleDateString("de-DE", { day: "2-digit", month: "2-digit", year: "numeric" })}</span> <span className="text-xs text-gray-500">{new Date(lead.capturedAt).toLocaleDateString("de-DE", { day: "2-digit", month: "2-digit", year: "numeric" })}</span>
</td> </td>