client: Link Creator Dashboard to current organization if user has th…
client: Link Creator Dashboard to current organization if user has the organization
Issue:
Currently, when a user visits their organization page and clicks the "Creator Dashboard" button, it always links to the first organization in their list. This is incorrect if the user owns the visited organization.
Solution:
Identify Ownership: Determine if the current user is the owner of the visited organization. Link to Current Organization: If the user is the owner, link the "Creator Dashboard" button directly to the current organization's dashboard page.
Expected Behavior:
When a user who owns an organization visits their organization page and clicks the "Creator Dashboard" button, it should link to the dashboard for that specific organization.
@codenoid is attempting to deploy a commit to the polar-sh Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| polar | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 9, 2024 10:04am |
Nice one! Added a few more occurrences of the organization param.