From c7bf5271e6a65682a1f3851cde938d7e803b0246 Mon Sep 17 00:00:00 2001 From: Caleb Allen Date: Sun, 22 Mar 2026 10:52:58 -0400 Subject: [PATCH] fix: simplify play count accessor, remove right-align to debug rendering --- frontend/src/components/track-list/columns.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/components/track-list/columns.ts b/frontend/src/components/track-list/columns.ts index c8005a8..ebcb871 100644 --- a/frontend/src/components/track-list/columns.ts +++ b/frontend/src/components/track-list/columns.ts @@ -189,10 +189,8 @@ export const COLUMN_DEFS: Record = { playCount: { id: 'playCount', label: 'Play Count', - accessor: (t) => - String(t.PlayCount ?? 0), + accessor: (t) => t.PlayCount > 0 ? `${t.PlayCount}` : '0', defaultWidth: '80px', - align: 'right', comparator: (a, b) => compareNum(a.PlayCount, b.PlayCount), },