fix: use middle dot instead of pipe as raw column separator in preview
Prevents confusion between the display separator and actual CSV delimiters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
49e0bd2c94
commit
ce584a15ab
1 changed files with 8 additions and 1 deletions
|
|
@ -90,7 +90,14 @@ export default function FilePreviewTable({
|
||||||
: "—"}
|
: "—"}
|
||||||
</td>
|
</td>
|
||||||
<td className="px-3 py-2 text-xs text-[var(--muted-foreground)] max-w-xs truncate">
|
<td className="px-3 py-2 text-xs text-[var(--muted-foreground)] max-w-xs truncate">
|
||||||
{row.raw.join(" | ")}
|
<span className="inline-flex gap-0">
|
||||||
|
{row.raw.map((cell, i) => (
|
||||||
|
<span key={i}>
|
||||||
|
{i > 0 && <span className="text-[var(--border)] mx-0.5">{'·'}</span>}
|
||||||
|
{cell}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue