Remove Quelle column from customer leadspeicher
This commit is contained in:
@@ -678,7 +678,6 @@ export default function LeadVaultPage() {
|
||||
["phone", "Telefon"],
|
||||
["email", "E-Mail"],
|
||||
["sourceTerm", "Suchbegriff"],
|
||||
["sourceTab", "Quelle"],
|
||||
["capturedAt", "Erfasst"],
|
||||
].map(([field, label]) => (
|
||||
<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>
|
||||
<tbody>
|
||||
{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 ? (
|
||||
<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" />
|
||||
<p className="text-gray-500 text-sm">
|
||||
{(search || filterSource.length || filterContacted || filterFavorite)
|
||||
@@ -795,9 +794,6 @@ export default function LeadVaultPage() {
|
||||
<span className="text-xs text-gray-600">–</span>
|
||||
)}
|
||||
</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")}>
|
||||
<span className="text-xs text-gray-500">{new Date(lead.capturedAt).toLocaleDateString("de-DE", { day: "2-digit", month: "2-digit", year: "numeric" })}</span>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user