fix(04-05): three post-deploy bug fixes
- Admin client list: remove Timer column, rename Acconto→Importo incassato and Saldo→Importo da saldare (calculated from payment amounts, not badges) - Project workspace timer: pass projectId prop to TimerCell so it calls startTimer(projectId) directly instead of startTimerForClient(projectId) which was failing with "nessun progetto trovato" - Public client page: pass client.token (real DB token) not the URL path segment (which may be a slug) to ClientDashboard → fixes approve/chat APIs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -113,7 +113,7 @@ export default async function ClientPage({
|
||||
return (
|
||||
<ClientDashboard
|
||||
view={projectViewToClientView(client, view)}
|
||||
token={token}
|
||||
token={client.token}
|
||||
comments={view.comments as unknown as Comment[]}
|
||||
/>
|
||||
);
|
||||
@@ -155,7 +155,7 @@ export default async function ClientPage({
|
||||
{view ? (
|
||||
<ClientDashboard
|
||||
view={projectViewToClientView(client, view)}
|
||||
token={token}
|
||||
token={client.token}
|
||||
comments={view.comments as unknown as Comment[]}
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user