fix(onboarding): fix 404 on 'Uzupełnij' links in dashboard progress widget
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

Onboarding steps had hardcoded /company/{id}/edit URLs that don't exist.
Changed to /firma/edytuj/{id} which is the actual company edit route.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-04-08 14:21:08 +02:00
parent 6bf71439c7
commit 9f052f5173

View File

@ -60,7 +60,7 @@ def compute_onboarding_steps(user, user_companies, app_root):
),
'responsible': 'member',
'responsible_label': 'Ty',
'action_url': f'/company/{company.id}/edit' if company else None,
'action_url': f'/firma/edytuj/{company.id}' if company else None,
},
{
'key': 'logo',
@ -74,7 +74,7 @@ def compute_onboarding_steps(user, user_companies, app_root):
),
'responsible': 'both',
'responsible_label': 'Ty / Sekretariat',
'action_url': f'/company/{company.id}/edit' if company else None,
'action_url': f'/firma/edytuj/{company.id}' if company else None,
},
]