kovakmedya 02a02ba9e6 fix: footer rebrand + iç sayfada genel-bakış'a yanlış redirect
1) Footer

The template's 'Made with ❤ by ShadcnStore Team' is gone. Footer now
shows '© <year> İşletmem — bir KovakSoft ürünüdür.' on the left and
Kullanım şartları / Gizlilik links on the right. Compact one-line layout
on desktop, stacked on mobile.

2) Internal pages were redirecting users to /onboarding (and from there
   to /dashboard) even when they had a valid tenant.

Root cause: requireTenant() called getActiveTenantId() and threw
NO_TENANT when the active-tenant cookie/prefs were missing — even though
the user's actually a member of one or more teams. getActiveContext()
already handled this fallback for the layout, but the per-page
requireTenant() guard didn't, so /customers, /tasks, /invoices, etc. all
bounced through /onboarding back to /dashboard.

- requireTenant() now falls back to the user's first team via
  teams.list(), and writes the cookie so the next request is fast.

3) Side fix: acceptInviteAction now sets account.prefs.activeTenant + the
   ACTIVE_TENANT cookie after successful join, so a freshly invited
   member lands directly in the right workspace instead of relying on
   the team-list fallback.
2026-04-30 06:39:27 +03:00
S
Description
No description provided
5.2 MiB
Languages
TypeScript 99.5%
CSS 0.5%