polar icon indicating copy to clipboard operation
polar copied to clipboard

client: Link Creator Dashboard to current organization if user has th…

Open codenoid opened this issue 1 year ago • 1 comments

client: Link Creator Dashboard to current organization if user has the organization

image

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 avatar Sep 07 '24 04:09 codenoid

@codenoid is attempting to deploy a commit to the polar-sh Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 07 '24 04:09 vercel[bot]

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

vercel[bot] avatar Sep 09 '24 09:09 vercel[bot]

Nice one! Added a few more occurrences of the organization param.

emilwidlund avatar Sep 09 '24 09:09 emilwidlund